↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

System Catalogs / System catalogs

The catalog pg_range stores information about range types.

Reading PG 18current·documented in 16 of 24 versions, 9.2 to 20

Kind
System catalogs
Columns in this snapshot
7
Definition source
English manual
Metadata snapshot
18.6

Columns 7

As listed in the PostgreSQL 18 manual.

ColumnTypeDescription / reference
rngtypidoidNOT NULLOID of the range type
pg_type.oid
rngsubtypeoidNOT NULLOID of the element type (subtype) of this range type
pg_type.oid
rngmultitypidoidNOT NULLOID of the multirange type for this range type
pg_type.oid
rngcollationoidNOT NULLOID of the collation used for range comparisons, or zero if none
pg_collation.oid
rngsubopcoidNOT NULLOID of the subtype's operator class used for range comparisons
pg_opclass.oid
rngcanonicalregprocNOT NULLOID of the function to convert a range value into canonical form, or zero if none
pg_proc.oid
rngsubdiffregprocNOT NULLOID of the function to return the difference between two element values as double precision, or zero if none
pg_proc.oid
Column history across versions
Version history 3
  1. 18 → 19 changed
  2. 13 → 14 changed
  3. 9.1 → 9.2 added

Definition snapshot: english-manuals:0af05c551400513b4770b88698a… · English manual source