X-Git-Url: https://pd.if.org/git/?p=uuid;a=blobdiff_plain;f=postgres%2FREADME;h=678e63cef759c9855a4ad469dade234e7425cecc;hp=bbf7694a78ddaaae5edee2e59158dcb6ccb387d1;hb=165a05e98fd4bf5acb97b275c43de2d3d7bbd628;hpb=89078e281093c442c5275050cad8867abc6885bf diff --git a/postgres/README b/postgres/README index bbf7694..678e63c 100644 --- a/postgres/README +++ b/postgres/README @@ -30,16 +30,24 @@ Compiles with the usual postgres addon infrastructure. make make install +The 'make install' step will need sufficient privileges to write +to the Postgres extension directory, so 'sudo make install' +might be needed. + +Installation can be done via the usual Postgres extension mechanism. +create extension pduuid; + +The extension is re-locatable, so you can specify a schema if you +like. + 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. +functions in purepguuid.sql, though this is very inefficient, feature +incomplete, and untested. It's there if you need it though. Generation Functions: