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

release-23.2: sql: support sequence and udt name rewriting in plpgsql #116419

Merged

Commits on Dec 14, 2023

  1. sql: support sequence and udt name rewriting in plpgsql

    CRDB rewrites sequence and UDT names as IDs in views and functions so
    that if the sequence or UDT is renamed the views and functions using
    them don't break. This PR adds support for this in PLpgSQL.
    
    Epic: None
    Fixes: cockroachdb#115627
    
    Release note (sql change): Fixes a bug in PLpgSQL where altering the
    name of a sequence or UDT that was used in a PLpgSQL function or
    procedure could break them. This is only present in 23.2 alpha and beta
    releases.
    rharding6373 committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    33d6c2d View commit details
    Browse the repository at this point in the history