]> pd.if.org Git - uuid/blobdiff - postgres/README
Fixed cut and paste typo.
[uuid] / postgres / README
index c57e41086a3a31556ff12db274f9426e038f36f3..bbf7694a78ddaaae5edee2e59158dcb6ccb387d1 100644 (file)
@@ -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: