]> begriffs open source - ai-pg/blob - full-docs/txt/catalog-pg-range.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / catalog-pg-range.txt
1
2 52.43. pg_range #
3
4    The catalog pg_range stores information about range types. This is in
5    addition to the types' entries in pg_type.
6
7    Table 52.43. pg_range Columns
8
9    Column Type
10
11    Description
12
13    rngtypid oid (references pg_type.oid)
14
15    OID of the range type
16
17    rngsubtype oid (references pg_type.oid)
18
19    OID of the element type (subtype) of this range type
20
21    rngmultitypid oid (references pg_type.oid)
22
23    OID of the multirange type for this range type
24
25    rngcollation oid (references pg_collation.oid)
26
27    OID of the collation used for range comparisons, or zero if none
28
29    rngsubopc oid (references pg_opclass.oid)
30
31    OID of the subtype's operator class used for range comparisons
32
33    rngcanonical regproc (references pg_proc.oid)
34
35    OID of the function to convert a range value into canonical form, or
36    zero if none
37
38    rngsubdiff regproc (references pg_proc.oid)
39
40    OID of the function to return the difference between two element values
41    as double precision, or zero if none
42
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
47    type.