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

[FIX] use subprocess to restore the database #154

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

schout-it
Copy link
Contributor

Use subprocess to restore the db
as the exec_pg_commands are no longer available

Comment on lines 35 to 36
"pg_restore",
pg_args,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"pg_restore",
pg_args,
["pg_restore", *pg_args],

This will hopefully make tests pass.

@sbidoul sbidoul merged commit 72d2dae into acsone:master Oct 23, 2024
10 checks passed
@sbidoul
Copy link
Member

sbidoul commented Oct 23, 2024

Thanks! Let's see if #150 is now green.

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