From: Nathan Wagner Date: Thu, 13 Sep 2012 08:53:44 +0000 (+0000) Subject: Fixed cut and paste typo. X-Git-Url: https://pd.if.org/git/?p=uuid;a=commitdiff_plain;h=04180d5e69c3d727e5837fff1224fbf4b244fe20 Fixed cut and paste typo. --- diff --git a/postgres/README b/postgres/README index c57e410..bbf7694 100644 --- a/postgres/README +++ b/postgres/README @@ -59,7 +59,7 @@ returns a version 4 uuid. This is a random uuid. The odds of collision are vanishingly low and it is safe to use for regular production uuid generation. -uuid_v3(uuid, text) +uuid_v5(uuid, text) returns a version 5 uuid using the supplied namespace uuid and the given input string. This is an sha1 based uuid. @@ -111,6 +111,9 @@ network byte order for the subfields of a uuid, where applicable. Numeric: treats the UUID as a 128 bit number and converts it to a numeric. Bit(128) and bit varying: treats the uuid as a 128 bit vector. +Casts to bit(n) where n is shorter than 128 will truncate +the uuid. Where n is longer than 128, the bit vector +will be zero extended. Field extraction functions: