Skip to content

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