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

[8.x] Fix Postgres Dump #35018

Merged
merged 1 commit into from
Oct 29, 2020
Merged

[8.x] Fix Postgres Dump #35018

merged 1 commit into from
Oct 29, 2020

Conversation

taylorotwell
Copy link
Member

I believe #34293 broke Postgres dumps by breaking how migration table data was appended to the dump file. The migration data was never appended to the file because the appendMigrationData method was no longer able to parse them out of the binary dump.

This corrects this by using the connection to retrieve all table names then excluding table data for all tables EXCEPT the migrations table in the binary dump.

I have tested this locally on my machine with Postgres.

@driesvints driesvints changed the title Fix Postgres Dump [8.x] Fix Postgres Dump Oct 29, 2020
@taylorotwell taylorotwell merged commit 1c7cfe2 into 8.x Oct 29, 2020
@driesvints driesvints deleted the fix-pgsql-dump branch October 29, 2020 12:35
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.

1 participant