Skip to main content

Module node

Module node 

Source
Expand description

The stored form of an expression, which the catalog keeps for a column default, a check constraint and an index expression.

PostgreSQL stores these as pg_node_tree text that nodeToString writes. rupg stores its own text, which document 05 section 5.2 permits, because clients do not read it. The form looks like the form of PostgreSQL: {NAME :field value ...}. A constant keeps its value in a form that does not change with the settings of the session, so the expression reads back to the same tree.

Enums§

StoredBound
The stored bound of a partition, as relpartbound keeps a PartitionBoundSpec.
StoredDatum
A datum of the stored bound of a range partition.

Functions§

is_bound
True for the stored form of the bound of a partition, which write_bound made.
read
The expression of a stored form that write() made.
read_bound
The bound of a stored form that write_bound made.
read_list
The expressions of a stored form that write_list made.
write
The stored form of an expression.
write_bound
The stored form of the bound of a partition, relpartbound. Each constant of the bound is already in the stored form of write().
write_list
The stored form of a list of expressions, such as the expressions of an index: (e1 e2 ...).