Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group