summaryrefslogtreecommitdiff
path: root/shared/ossp_uuid/pgsql/uuid.txt
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:43 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:43 +0200
commit4226e548662339ea1ca37b45385a7cf9b237ff1e (patch)
tree9a3fa54b85d97f05164e41bdb96b82f748a37342 /shared/ossp_uuid/pgsql/uuid.txt
parent3.7 (diff)
downloadFreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.gz
FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.bz2
FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.zip
3.8
Diffstat (limited to 'shared/ossp_uuid/pgsql/uuid.txt')
-rw-r--r--shared/ossp_uuid/pgsql/uuid.txt36
1 files changed, 0 insertions, 36 deletions
diff --git a/shared/ossp_uuid/pgsql/uuid.txt b/shared/ossp_uuid/pgsql/uuid.txt
deleted file mode 100644
index c9506de4..00000000
--- a/shared/ossp_uuid/pgsql/uuid.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-
- 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
- <database> one has run:
-
- $ <prefix>/bin/psql \
- -d <database> \
- -U postgresql \
- -f <prefix>/share/postgresql/uuid.sql
-
- Usage
- -----
-
- psql -d <database>
- 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;
-
bgstack15