git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 068bf65) | patch
Rewrite uuid input and output routines to avoid dependency on the
2007年1月31日 19:33:54 +0000 (19:33 +0000)
2007年1月31日 19:33:54 +0000 (19:33 +0000)
commit 05ce7d6a418633c665e8c2ace4f51deaf05846d7
Rewrite uuid input and output routines to avoid dependency on the
nonportable "hh" sprintf(3) length modifier. Instead, do the parsing
and output by hand. The code to do this isn't ideal, but this is
an interim measure anyway: the uuid type should probably use the
in-memory struct layout specified by RFC 4122. For now, this patch
should hopefully rectify the buildfarm failures for the uuid test.

Along the way, re-add pg_cast entries for uuid <-> varchar, which
I mistakenly removed earlier, and bump the catversion.
src/backend/utils/adt/uuid.c diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
src/include/catalog/pg_cast.h diff | blob | blame | history
src/test/regress/expected/uuid.out diff | blob | blame | history
src/test/regress/sql/uuid.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /