Closed LSIND closed 7 months ago
Bug has been addressed in our unstable release of PostgreSQL extension v0.5.1-insiders. We would appreciate your verification that it has been handled appropriately.
I installed extension v0.5.1 (win x64), the results of interval output are as expected. Thank you for your work!
Describe the bug Using datatype INTERVAL produce incorrect results in the Results grid.
To Reproduce
SELECT age('20100101'::date, '19940215'::date) AS age_func;
SELECT date_trunc('months', '1 year 2 months 20 days 15 minutes 55 seconds'::interval) as date_trunc_func;
SELECT 5 * '2 years 3 months 5 days'::interval as mult;
Expected behavior It seems that ADS or extension cuts everything that stands before the days.
As for
psql (13.8)
, it produces correct results:Desktop:
ADS:
Additional context Date/timestamp datatypes with arithmetic operator
-
produce correct (expected) result, for example:P.S. Probably I should also refer to pgtoolsservice.