pgsql: Modify the new to_timestamp implementation so that - Mailing list pgsql-committers

From heikki@postgresql.org (Heikki Linnakangas)
Subject pgsql: Modify the new to_timestamp implementation so that
Date
Msg-id 20081201171118.587017545A4@cvs.postgresql.org
Whole thread Raw
List 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:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Ensure that the contents of a holdable cursor don't depend on
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix an oversight in the code that makes transitive-equality