Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to modify postgres model to use timezone-aware timestampz [BATCH-2734] #871

Open
spring-issuemaster opened this issue Jul 7, 2018 · 0 comments

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Jul 7, 2018

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.