Skip to content

search_uids.py: Use pg_restore without "-f -" - #125

Open
jordibc wants to merge 1 commit into
masterfrom
fix/search_uids
Open

search_uids.py: Use pg_restore without "-f -"#125
jordibc wants to merge 1 commit into
masterfrom
fix/search_uids

Conversation

@jordibc

@jordibc jordibc commented Jan 2, 2023

Copy link
Copy Markdown
Contributor

The reason is that by default it already behaves as if given the option
-f -
(which redirects to stdout). But some versions of pg_restore do not interpret "-f -" that way and instead create a file called "-".

This change simplifies it and makes it compatible with all versions.

The reason is that by default it already behaves as if given the option
  -f -
(which redirects to stdout). But some versions of pg_restore do not
interpret "-f -" that way and instead create a file called "-".

This change simplifies it and makes it compatible with all versions.
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