]> pd.if.org Git - uuid/commitdiff
Add mention of extension based install
authorNathan Wagner <nw@hydaspes.if.org>
Wed, 12 Sep 2012 19:06:51 +0000 (19:06 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Wed, 12 Sep 2012 19:06:51 +0000 (19:06 +0000)
postgres/README

index 9d0fd919d8e6947fcc517efdfbc21b9819bc4fd6..c57e41086a3a31556ff12db274f9426e038f36f3 100644 (file)
@@ -1,6 +1,6 @@
 This software package is an addon module for postgres.  It supplies
 This software package is an addon module for postgres.  It supplies
-support functions for the built-in uuid data type.  It was built and
-tested against postgres version 8.4.0.  This file and all supplied files
+support functions for the built-in uuid data type.  It was originally built and
+tested against postgres version 8.4.0.    This file and all supplied files
 are written by Nathan Wagner and placed in the public domain.  Bug
 reports to nw@hydaspes.if.org.
 
 are written by Nathan Wagner and placed in the public domain.  Bug
 reports to nw@hydaspes.if.org.
 
@@ -8,12 +8,11 @@ Credit: the hash functions are stripped down implementations from
 libtomcrypt by Tom St Denis, also in the public domain.
 
 Functions supplied are uuid generation functions, conforming (with
 libtomcrypt by Tom St Denis, also in the public domain.
 
 Functions supplied are uuid generation functions, conforming (with
-one exception) to RFC 4122.  The exception lies in the multicast
-bit 
+one exception) to RFC 4122 (see below for details).
 
 Features:
 
 
 Features:
 
-UUID generation functions for version 1, 3, 4, and 5 UUIDS.
+UUID generation functions for version 1, 3, 4, and 5 uuids.
 
 RFC 4122 compliance, with the exception of the multicast bit
 for randomly generated mac addresses.  This module sets the correct
 
 RFC 4122 compliance, with the exception of the multicast bit
 for randomly generated mac addresses.  This module sets the correct
@@ -30,9 +29,15 @@ issues.
 Compiles with the usual postgres addon infrastructure.
 make
 make install
 Compiles with the usual postgres addon infrastructure.
 make
 make install
+
+Installation can be done manually with:
+
 psql -f uuid.sql
 psql -f uninstall-uuid.sql
 
 psql -f uuid.sql
 psql -f uninstall-uuid.sql
 
+Or as a postgres extension:
+create extension pduuid;
+
 A pure postgres implementation is also supplied of just the generation
 functions in purepguuid.sql.
 
 A pure postgres implementation is also supplied of just the generation
 functions in purepguuid.sql.