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

Generated Columns break pgbelt #518

Open
vjeeva opened this issue Jul 15, 2024 · 1 comment
Open

Generated Columns break pgbelt #518

vjeeva opened this issue Jul 15, 2024 · 1 comment

Comments

@vjeeva
Copy link
Contributor

vjeeva commented Jul 15, 2024

When a migration job involves tables with Postgres generated columns, pglogical replication goes down.

We see the following errors when doing setup, during the bulk COPY stage (before replication):

[13321]:ERROR: column "XXXXXXXXX" is a generated column
2024-07-15 15:45:05 UTC:DDD.DDD.DDD.DDD(EEEEEE):pglogical@YYYYYYYYYY:
[13321]:DETAIL: Generated columns cannot be used in COPY.

Soon after seeing this, we see pglogical replication status go down.

We need to figure out how to support generated columns with pglogical and pgbelt.

@vjeeva
Copy link
Contributor Author

vjeeva commented Jul 15, 2024

Ensure to document the lack of this support for generated columns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant