Skip to content

Add schema compatibility validation for pgstream#896

Open
kv1sidisi wants to merge 1 commit into
xataio:mainfrom
kv1sidisi:add-schema-validate
Open

Add schema compatibility validation for pgstream#896
kv1sidisi wants to merge 1 commit into
xataio:mainfrom
kv1sidisi:add-schema-validate

Conversation

@kv1sidisi

Copy link
Copy Markdown
  • Add a pgstream validate schema subcommand for PostgreSQL preflight checks.
  • Check source table type resolution and replica identity safety before replication starts.
  • Document the new command and cover the checker with focused unit tests.

@kvch

kvch commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Thank you for the contribution! The coverage failure is expected. However, the code generator failure is real.

Also, this issue is part of a greater effort in making pgstream runs more predictable. We are happy to take the contribution. But we might change the interface of this command. Maybe introduce a new command altogether named check that would include even more checks. There is no need for you to apply this change yet, as we are still working on the details of the new functionality.

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

Successfully merging this pull request may close these issues.

2 participants