From: Nathan Wagner Date: Wed, 12 Sep 2012 19:06:51 +0000 (+0000) Subject: Add mention of extension based install X-Git-Url: https://pd.if.org/git/?p=uuid;a=commitdiff_plain;h=90879c5836f9db9e60b248d787ef0ee138f2e637 Add mention of extension based install --- diff --git a/postgres/README b/postgres/README index 9d0fd91..c57e410 100644 --- a/postgres/README +++ b/postgres/README @@ -1,6 +1,6 @@ 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. @@ -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 -one exception) to RFC 4122. The exception lies in the multicast -bit +one exception) to RFC 4122 (see below for details). 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 @@ -30,9 +29,15 @@ issues. 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 +Or as a postgres extension: +create extension pduuid; + A pure postgres implementation is also supplied of just the generation functions in purepguuid.sql.