Skip to main content

Module columns

Module columns 

Source
Expand description

PostgreSQL column-name and stored-type declaration rules.

Modules§

addition
Bind an added column against current defaults, CHECKs, generated expressions, and foreign keys.
alteration
Analyze altered column expressions and types against ordered catalog snapshots.
publication
Mutate a declared column candidate before its catalog publication.
removal
Discover foreign keys that depend on a deleted column in catalog order.
removal_metadata
Validate column dependencies against retained relation metadata and remove local declarations.

Constants§

POSTGRES_SYSTEM_COLUMNS

Functions§

append_registered_column
Append a declared column after checking its name against the existing schema.
reject_default_change
Reject SET DEFAULT, when setting, or DROP DEFAULT on an identity or generated column, as PostgreSQL’s ATExecColumnDefault does: its hint names the command that changes such a column.
validate_postgres_column_name
validate_postgres_relation_column_type