4 The catalog pg_range stores information about range types. This is in
5 addition to the types' entries in pg_type.
7 Table 52.43. pg_range Columns
13 rngtypid oid (references pg_type.oid)
17 rngsubtype oid (references pg_type.oid)
19 OID of the element type (subtype) of this range type
21 rngmultitypid oid (references pg_type.oid)
23 OID of the multirange type for this range type
25 rngcollation oid (references pg_collation.oid)
27 OID of the collation used for range comparisons, or zero if none
29 rngsubopc oid (references pg_opclass.oid)
31 OID of the subtype's operator class used for range comparisons
33 rngcanonical regproc (references pg_proc.oid)
35 OID of the function to convert a range value into canonical form, or
38 rngsubdiff regproc (references pg_proc.oid)
40 OID of the function to return the difference between two element values
41 as double precision, or zero if none
43 rngsubopc (plus rngcollation, if the element type is collatable)
44 determines the sort ordering used by the range type. rngcanonical is
45 used when the element type is discrete. rngsubdiff is optional but
46 should be supplied to improve performance of GiST indexes on the range