[Postgres] Incorect display value for date field
See original GitHub issueThe field value is ‘Infinity’ but it is displayed as ‘292278994-08-17 01:00:00’
Infinity
is not same as that date.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Wrong date display when using "date" data type in postgres
I don't understand. The value 1279004400 is no legal value for the date data type. – Laurenz Albe. Apr 21, 2017 at 11:36....
Read more >Wrong displays of DateTime fields from PostgreSQL to KNIME
Therefore, all columns display wrong dates regardless of the time zone selected. Any of this is an issue when using PostgreSQL, but it...
Read more >8.4: Data Type Formatting Functions - PostgreSQL
The PostgreSQL formatting functions provide a powerful set of tools for converting various data types (date/time, integer, floating point, ...
Read more >Postgres: How to automatically fix date/time field value out of ...
Show activity on this post. select c.bdate, case when length(c.dot_three)=4 and (c.dot_one::int between 13 and 31) and c.dot_two::int<=12 ...
Read more >Exploring Postgres date formats and their different functions
Postgres uses the DATE data type for storing different dates in YYYY-MM-DD format. It uses 4 bytes for storing a date value in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There’s a new option in Preferences > Database > Result Sets > Data Formats: Use native date/time format. When you enable it then infinity values will display correctly.
I don’t think so. After all DBeaver is universal tool and tries to show data from different databases in a more or less the same format.
For example using database native format won’t let you to easily copy-paste datetime values between different databases (e.g. between PostgreSQL and MySQL).