Allow uuid_in() to parse a wider variety of variant input formats for the UUID

Peter Eisentraut <peter_e@gmx.net>

Commit: 84aa797292fab70e5c1bdbd863ff475981d0d22d
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2008-11-03T22:14:40Z
Releases: 8.4.0
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@gmail.com>

Files

PathChange+/−
doc/src/sgml/datatype.sgml modified +5 −2
src/backend/utils/adt/uuid.c modified +26 −35