pgsql: Prevent to_char(interval) from dumping core on month-related

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Prevent to_char(interval) from dumping core on month-related
Date: 2005-03-26 00:41:32
Message-ID: 20050326004132.50FE253344@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Prevent to_char(interval) from dumping core on month-related formats
when a zero-month interval is given. Per discussion with Karel.
Also, some desultory const-labeling of constant tables. More could be
done along that line.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
formatting.c (r1.85 -> r1.86)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c.diff?r1=1.85&r2=1.86)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-03-26 00:41:47 pgsql: Prevent to_char(interval) from dumping core on month-related
Previous Message Bruce Momjian 2005-03-25 23:22:54 pgsql: Use 'cp' and 'chmod' in place of 'install' to install header