Skip to content

Conversation

@fpacifici
Copy link
Contributor

There is a potential conrner case where we may end up with the wal2json library in the postgres/wal2json/VERSION/file but not in postgres/wal2json/wal2json.so.

Not sure exactly how likely this could be, but thechnically it is possible that the download succeeds and cp "../postgres/wal2json/$VERSION/$FILE_NAME" "$FILE_TO_USE" does not. The next attempt the copy would not be attempted.

This fix ensures the copy always happens

@BYK BYK merged commit d24a7b3 into master Jul 6, 2021
@BYK BYK deleted the fix/ensure_file_present branch July 6, 2021 09:31
@github-actions github-actions bot locked and limited conversation to collaborators Jul 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

./install.sh does not work on CentOS 7 (postgres error)

3 participants