pglast.enums.primnodes — Constants extracted from primnodes.h

class pglast.enums.primnodes.BoolExprType

Corresponds to the BoolExprType enum.

AND_EXPR
OR_EXPR
NOT_EXPR
class pglast.enums.primnodes.BoolTestType

Corresponds to the BoolTestType enum.

IS_TRUE
IS_NOT_TRUE
IS_FALSE
IS_NOT_FALSE
IS_UNKNOWN
IS_NOT_UNKNOWN
class pglast.enums.primnodes.CoercionContext

Corresponds to the CoercionContext enum.

COERCION_IMPLICIT
COERCION_ASSIGNMENT
COERCION_PLPGSQL
COERCION_EXPLICIT
class pglast.enums.primnodes.CoercionForm

Corresponds to the CoercionForm enum.

COERCE_EXPLICIT_CALL
COERCE_EXPLICIT_CAST
COERCE_IMPLICIT_CAST
COERCE_SQL_SYNTAX
class pglast.enums.primnodes.JsonBehaviorType

Corresponds to the JsonBehaviorType enum.

JSON_BEHAVIOR_NULL
JSON_BEHAVIOR_ERROR
JSON_BEHAVIOR_EMPTY
JSON_BEHAVIOR_TRUE
JSON_BEHAVIOR_FALSE
JSON_BEHAVIOR_UNKNOWN
JSON_BEHAVIOR_EMPTY_ARRAY
JSON_BEHAVIOR_EMPTY_OBJECT
JSON_BEHAVIOR_DEFAULT
class pglast.enums.primnodes.JsonConstructorType

Corresponds to the JsonConstructorType enum.

JSCTOR_JSON_OBJECT
JSCTOR_JSON_ARRAY
JSCTOR_JSON_OBJECTAGG
JSCTOR_JSON_ARRAYAGG
JSCTOR_JSON_PARSE
JSCTOR_JSON_SCALAR
JSCTOR_JSON_SERIALIZE
class pglast.enums.primnodes.JsonEncoding

Corresponds to the JsonEncoding enum.

JS_ENC_DEFAULT
JS_ENC_UTF8
JS_ENC_UTF16
JS_ENC_UTF32
class pglast.enums.primnodes.JsonExprOp

Corresponds to the JsonExprOp enum.

JSON_EXISTS_OP
JSON_QUERY_OP
JSON_VALUE_OP
JSON_TABLE_OP
class pglast.enums.primnodes.JsonFormatType

Corresponds to the JsonFormatType enum.

JS_FORMAT_DEFAULT
JS_FORMAT_JSON
JS_FORMAT_JSONB
class pglast.enums.primnodes.JsonValueType

Corresponds to the JsonValueType enum.

JS_TYPE_ANY
JS_TYPE_OBJECT
JS_TYPE_ARRAY
JS_TYPE_SCALAR
class pglast.enums.primnodes.JsonWrapper

Corresponds to the JsonWrapper enum.

JSW_UNSPEC
JSW_NONE
JSW_CONDITIONAL
JSW_UNCONDITIONAL
class pglast.enums.primnodes.MergeMatchKind

Corresponds to the MergeMatchKind enum.

MERGE_WHEN_MATCHED
MERGE_WHEN_NOT_MATCHED_BY_SOURCE
MERGE_WHEN_NOT_MATCHED_BY_TARGET
class pglast.enums.primnodes.MinMaxOp

Corresponds to the MinMaxOp enum.

IS_GREATEST
IS_LEAST
class pglast.enums.primnodes.NullTestType

Corresponds to the NullTestType enum.

IS_NULL
IS_NOT_NULL
class pglast.enums.primnodes.OnCommitAction

Corresponds to the OnCommitAction enum.

ONCOMMIT_NOOP
ONCOMMIT_PRESERVE_ROWS
ONCOMMIT_DELETE_ROWS
ONCOMMIT_DROP
class pglast.enums.primnodes.OverridingKind

Corresponds to the OverridingKind enum.

OVERRIDING_NOT_SET
OVERRIDING_USER_VALUE
OVERRIDING_SYSTEM_VALUE
class pglast.enums.primnodes.ParamKind

Corresponds to the ParamKind enum.

PARAM_EXTERN
PARAM_EXEC
PARAM_MULTIEXPR
class pglast.enums.primnodes.RowCompareType

Corresponds to the RowCompareType enum.

ROWCOMPARE_LT
ROWCOMPARE_LE
ROWCOMPARE_EQ
ROWCOMPARE_GE
ROWCOMPARE_GT
ROWCOMPARE_NE
class pglast.enums.primnodes.SQLValueFunctionOp

Corresponds to the SQLValueFunctionOp enum.

SVFOP_CURRENT_DATE
SVFOP_CURRENT_TIME
SVFOP_CURRENT_TIME_N
SVFOP_CURRENT_TIMESTAMP
SVFOP_CURRENT_TIMESTAMP_N
SVFOP_LOCALTIME
SVFOP_LOCALTIME_N
SVFOP_LOCALTIMESTAMP
SVFOP_LOCALTIMESTAMP_N
SVFOP_CURRENT_ROLE
SVFOP_CURRENT_USER
SVFOP_USER
SVFOP_SESSION_USER
SVFOP_CURRENT_CATALOG
SVFOP_CURRENT_SCHEMA
class pglast.enums.primnodes.SubLinkType

Corresponds to the SubLinkType enum.

class pglast.enums.primnodes.TableFuncType

Corresponds to the TableFuncType enum.

TFT_XMLTABLE
TFT_JSON_TABLE
class pglast.enums.primnodes.XmlExprOp

Corresponds to the XmlExprOp enum.

IS_XMLCONCAT
IS_XMLELEMENT
IS_XMLFOREST
IS_XMLPARSE
IS_XMLPI
IS_XMLROOT
IS_XMLSERIALIZE
IS_DOCUMENT
class pglast.enums.primnodes.XmlOptionType

Corresponds to the XmlOptionType enum.

XMLOPTION_DOCUMENT
XMLOPTION_CONTENT