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

Lint for reg<whatever> types outside of pg_catalog #55

Open
olirice opened this issue Apr 18, 2024 · 0 comments
Open

Lint for reg<whatever> types outside of pg_catalog #55

olirice opened this issue Apr 18, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@olirice
Copy link
Collaborator

olirice commented Apr 18, 2024

pg_upgrade does not support upgrading of databases containing table columns using these reg* OID-referencing system data types:

  • regcollation
  • regconfig
  • regdictionary
  • regnamespace
  • regoper
  • regoperator
  • regproc
  • regprocedure

(regclass, regrole, and regtype can be upgraded.)

This task is to add a WARN lint to notify users they will not be able to upgrade their database without first removing references to those types

@olirice olirice added bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed and removed bug Something isn't working labels Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant