diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2008-11-03 22:14:40 +0000 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2008-11-03 22:14:40 +0000 |
| commit | 84aa797292fab70e5c1bdbd863ff475981d0d22d (patch) | |
| tree | 92513acdae893c80c41da5c82132ae737962c912 /doc/src | |
| parent | 48cbe59150de7f8ba8a065b575bb389f0c5c2d7d (diff) | |
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>
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/datatype.sgml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index 26521661b7f..d3d2bb5c07b 100644 --- a/doc/src/sgml/datatype.sgml +++ b/doc/src/sgml/datatype.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.230 2008/10/14 17:12:32 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.231 2008/11/03 22:14:40 petere Exp $ --> <chapter id="datatype"> <title id="datatype-title">Data Types</title> @@ -3550,11 +3550,14 @@ a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 <productname>PostgreSQL</productname> also accepts the following alternative forms for input: use of upper-case digits, the standard format surrounded by - braces, and omitting the hyphens. Examples are: + braces, omitting some or all hyphens, adding a hyphen after any + group of four digits. Examples are: <programlisting> A0EEBC99-9C0B-4EF8-BB6D-6BB9BD380A11 {a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11} a0eebc999c0b4ef8bb6d6bb9bd380a11 +a0ee-bc99-9c0b-4ef8-bb6d-6bb9-bd38-0a11 +{a0eebc99-9c0b4ef8-bb6d6bb9-bd380a11} </programlisting> Output is always in the standard form. </para> |
