pgsql: Modify the new to_timestamp implementation so that

From: heikki(at)postgresql(dot)org (Heikki Linnakangas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Modify the new to_timestamp implementation so that
Date: 2008-12-01 17:11:18
Message-ID: 20081201171118.587017545A4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Modify the new to_timestamp implementation so that end-of-format-string
is treated like a non-digit separator. This fixes the inconsistency in
examples like:

to_timestamp('2008-01-2', 'YYYY-MM-DD') -- didn't work

and

to_timestamp('2008-1-02', 'YYYY-MM-DD') -- did work

Modified Files:
--------------
pgsql/src/backend/utils/adt:
formatting.c (r1.150 -> r1.151)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c?r1=1.150&r2=1.151)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2008-12-01 17:18:41 Re: Re: [COMMITTERS] pgsql: Add support for matching wildcard server certificates to the new
Previous Message Tom Lane 2008-12-01 17:10:15 Re: Re: [COMMITTERS] pgsql: Add support for matching wildcard server certificates to the new