| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Joseph Koshakow <koshy44(at)gmail(dot)com> |
| Cc: | Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, Aleksander Alekseev <aleksander(at)timescale(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Extract epoch from Interval weird behavior |
| Date: | 2022-02-24 16:27:37 |
| Message-ID: | 1352876.1645720057@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Joseph Koshakow <koshy44(at)gmail(dot)com> writes:
> I do want to briefly mention, if I'm understanding the history of
> EXTRACT correctly, that the previous behavior
> actually was to multiply by 365.25, not 365. However The commit that
> changed the return type from numeric [1]
> changed that behavior. Looking through the discussions [2], I don't
> see any mention of it, which makes me think
> it was a mistake.
Indeed ... Peter?
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Mark Wong | 2022-02-24 16:37:00 | Re: Time to drop plpython2? |
| Previous Message | Brar Piening | 2022-02-24 16:07:07 | Re: Add id's to various elements in protocol.sgml |