dimitri / pgcopydb

Copy a Postgres database to a target Postgres server (pg_dump | pg_restore on steroids)
Other
1.19k stars 78 forks source link

Extension config tables are not copied in dependency order #842

Closed arajkumar closed 4 months ago

arajkumar commented 4 months ago

We ensure that extension config tables are queried from source tables based on their dependency order in https://github.com/dimitri/pgcopydb/pull/702/files, however while reading from sqlite catalog inorder to copy, we query config tables order by ext config oid which is not correct.

Solution: Read extension config table based on the configuration array index

dimitri commented 4 months ago

Closed by #841