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

pg_restore fails because cannot drop IDENTITY COLUMN #510

Open
marcotn opened this issue Feb 27, 2024 · 0 comments
Open

pg_restore fails because cannot drop IDENTITY COLUMN #510

marcotn opened this issue Feb 27, 2024 · 0 comments
Labels
bug Bugs that need to get fixed.

Comments

@marcotn
Copy link

marcotn commented Feb 27, 2024

Current Situation

When I run dbrestore command on postgres i get this error pg_restore: error: could not execute query: ERROR: column "id" of relation ... is an identity column HINT: Use ALTER TABLE ... ALTER COLUMN ... DROP IDENTITY instead.

Proposed Actions

Probably the the restore --clean is using the drop maybe it's just a problem with pg_restore version

System Information

No response

@marcotn marcotn added the bug Bugs that need to get fixed. label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs that need to get fixed.
Projects
None yet
Development

No branches or pull requests

1 participant