Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql: Add Logical Column ID field to ColumnDescriptor #46992

Merged
merged 1 commit into from
Apr 29, 2020

Commits on Apr 29, 2020

  1. Add LogicalColumnID field to ColumnDescriptor.

    The LogicalColumnID field mimics the ColumnID field however LogicalColumnID may be swapped
    between two columns whereas ColumnID cannot. LogicalColumnID is referenced for virtual tables
    (pg_catalog, information_schema) and most notably affects column ordering for SHOW COLUMNS.
    
    This LogicalColumnID field support swapping the order of two columns - currently only used for
    ALTER COLUMN TYPE when a shadow column is created and swapped with it's original column.
    
    Does not affect existing behaviour.
    
    Release note: None
    RichardJCai committed Apr 29, 2020
    Configuration menu
    Copy the full SHA
    3afec70 View commit details
    Browse the repository at this point in the history