head 1.2; access; symbols UUID_1_6_2:1.1 UUID_1_6_1:1.1 UUID_1_6_0:1.1 UUID_1_5_1:1.1 UUID_1_5_0:1.1 UUID_1_4_2:1.1 UUID_1_4_1:1.1 UUID_1_4_0:1.1; locks; strict; comment @# @; 1.2 date 2008.07.05.12.58.23; author rse; state dead; branches; next 1.1; commitid XLXN7vUmABwPcC9t; 1.1 date 2006.01.12.20.00.24; author rse; state Exp; branches; next ; commitid QzM3BRD6JxgeDlhr; desc @@ 1.2 log @remove OSSP uuid from CVS -- it is now versioned controlled in a Monotone repository @ text @ OSSP uuid bindings for PostgreSQL ================================= This is the OSSP uuid binding for the PostgreSQL RDBMS, providing native UUID data type support. Installation ------------ In order to install the OSSP uuid binding into the PostgreSQL database one has run: $ /bin/psql \ -d \ -U postgresql \ -f /share/postgresql/uuid.sql Usage ----- psql -d psql> CREATE TABLE test (id UUID DEFAULT uuid(1), name TEXT); psql> INSERT INTO test (name) VALUES ('foo'); psql> INSERT INTO test (id, name) VALUES (uuid(1), 'bar'); psql> INSERT INTO test (id, name) VALUES (uuid(3, 'ns:URL', 'http://www.ossp.org/'), 'baz'); psql> INSERT INTO test (id, name) VALUES (uuid(3, '6ba7b811-9dad-11d1-80b4-00c04fd430c8', 'http://www.ossp.org/'), 'quux'); psql> SELECT uuid(4); psql> SELECT * FROM test WHERE id = uuid(3, 'ns:URL', 'http://www.ossp.org/'); psql> DROP TABLE test; @ 1.1 log @Added experimental PostgreSQL bindings. @ text @@