Thread: pgsql/src/backend/utils/adt (timestamp.c)

pgsql/src/backend/utils/adt (timestamp.c)

From
thomas@postgresql.org
Date:
  Date: Wednesday, January  3, 2001 @ 11:48:03
Author: thomas

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/adt
     from hub.org:/home/projects/pgsql/developers/thomas/CURRENT/pgsql/src/backend/utils/adt

Modified Files:
    timestamp.c

-----------------------------  Log Message  -----------------------------

Repair always-broken date_part('quarter',timestamp).
Previous result did not have correct month boundaries so anything near edge
 cases was suspect (e.g. April was in Q1 and July, August were lumped into
 Q2).
Thanks to Denis Osadchy <osadchy@turbo.nsk.su> for the report.