]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add a new builtin type, "uuid". This implements a UUID type, similar to
authorNeil Conway <neilc@samurai.com>
Sun, 28 Jan 2007 16:16:54 +0000 (16:16 +0000)
committerNeil Conway <neilc@samurai.com>
Sun, 28 Jan 2007 16:16:54 +0000 (16:16 +0000)
commita534068e0e4c373ef2fe956f9782cf252e1bdc1e
tree01b52b6d760d1cee3ff7862c5237adf2a7946b45
parenta8e0b660610de84550b5affb8c2b3f1b59e4c1eb
Add a new builtin type, "uuid". This implements a UUID type, similar to
that defined in RFC 4122. This patch includes the basic implementation,
plus regression tests. Documentation and perhaps some additional
functionality will come later. Catversion bumped.

Patch from Gevik Babakhani; review from Peter, Tom, and myself.
17 files changed:
src/backend/utils/adt/Makefile
src/backend/utils/adt/uuid.c [new file with mode: 0644]
src/include/catalog/catversion.h
src/include/catalog/pg_amop.h
src/include/catalog/pg_amproc.h
src/include/catalog/pg_cast.h
src/include/catalog/pg_opclass.h
src/include/catalog/pg_operator.h
src/include/catalog/pg_opfamily.h
src/include/catalog/pg_proc.h
src/include/catalog/pg_type.h
src/include/utils/builtins.h
src/include/utils/uuid.h [new file with mode: 0644]
src/test/regress/expected/uuid.out [new file with mode: 0644]
src/test/regress/parallel_schedule
src/test/regress/serial_schedule
src/test/regress/sql/uuid.sql [new file with mode: 0644]