pgsql: Allow uuid_in() to parse a wider variety of variant input formats

From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow uuid_in() to parse a wider variety of variant input formats
Date: 2008-11-03 22:14:40
Message-ID: 20081103221440.F20237545A4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-committers

Log Message:
-----------
Allow uuid_in() to parse a wider variety of variant input formats for the UUID
data type. This patch takes the approach of allowing an optional hyphen after
each group of four hex digits.

Author: Robert Haas <robertmhaas(at)gmail(dot)com>

Modified Files:
--------------
pgsql/doc/src/sgml:
datatype.sgml (r1.230 -> r1.231)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/datatype.sgml?r1=1.230&r2=1.231)
pgsql/src/backend/utils/adt:
uuid.c (r1.7 -> r1.8)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/uuid.c?r1=1.7&r2=1.8)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-11-03 23:49:07 pgsql: Use bool for a boolean flag.
Previous Message Tom Lane 2008-11-03 21:09:17 pgsql: Dept of second thoughts: seems it'd be safer if pg_typeof is