You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For my use this means the generated script won't run.
My backup is 60+Gb so editing the file is a pain.
I think we could add a flag to opt into including extensions for a schema in the dump file.
This would mean querying the schema to get the extensions and inject the code into the dump file somewhere near the top... after the schema have been created.
The text was updated successfully, but these errors were encountered:
Hi @nigelatdas, did you happen to get any of this working? I was going to start looking into this as we should definitely dump the extensions into the dump file as well to simplify loading.
Hiya,
Due to us specifying the schema ... and hence passing '-n' to pg_dump it doesn't include extensions
(see https://dba.stackexchange.com/questions/297985/pg-dump-is-not-including-extensions)
For my use this means the generated script won't run.
My backup is 60+Gb so editing the file is a pain.
I think we could add a flag to opt into including extensions for a schema in the dump file.
This would mean querying the schema to get the extensions and inject the code into the dump file somewhere near the top... after the schema have been created.
The text was updated successfully, but these errors were encountered: