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 refer to 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_on_generated_column
validate_postgres_column_name
validate_postgres_relation_column_type