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: rearchitecture ALTER TABLE RENAME, add support for renaming constraints #35091

Merged
merged 1 commit into from
Mar 7, 2019

Commits on Mar 7, 2019

  1. sql: rearchitecture ALTER TABLE RENAME, add support for renaming cons…

    …traints
    
    Release note (sql change): This patch changes RENAME COLUMN to become
    a "table command", which can be used alongside other table commands in
    a single ALTER TABLE statement. This makes it possible to e.g. atomically
    add a computed column based on an existing column, and rename the
    columns so that the computed column "replaces" the original column.
    
    Release note (sql change): CockroachDB now supports ALTER TABLE RENAME
    CONSTRAINT. Only indexes that are not depended on by views can be
    renamed.
    knz committed Mar 7, 2019
    Configuration menu
    Copy the full SHA
    11a7d81 View commit details
    Browse the repository at this point in the history