spring-batch icon indicating copy to clipboard operation
spring-batch copied to clipboard

Request to modify postgres model to use timezone-aware timestampz

Open spring-projects-issues opened this issue 7 years ago • 1 comments

Gary P Russo opened BATCH-2734 and commented

To avoid any dependency or conflicts with the client time zone, it is considered a best practice to use Postgres TIMESTAMPZ instead of TIMESTAMP.

The postgres table creation script is currently using the TIMESTAMP data type. 

https://github.com/spring-projects/spring-batch/blob/master/spring-batch-core/src/main/resources/org/springframework/batch/core/schema-postgresql.sql

 


Affects: 4.0.1

Reference URL: http://www.postgresqltutorial.com/postgresql-timestamp/

spring-projects-issues avatar Jul 07 '18 05:07 spring-projects-issues

FTR, an attempt was made to implement this in #4209. Due to the issues that popped up in that attempt, this feature is delayed to a future version.

fmbenhassine avatar Oct 11 '22 20:10 fmbenhassine