• Joined on 2023-04-14
jirutka commented on pull request borgmatic-collective/borgmatic#677 2023-04-17 12:03:23 +00:00
Fix multiple bugs in PostgreSQL hook

The only thing potentially missing is adding (or updating) a test demonstrating that the psql_command and pg_restore_command options now support commands with arguments in these functions.

Acc…

jirutka commented on pull request borgmatic-collective/borgmatic#677 2023-04-17 11:53:52 +00:00
Fix multiple bugs in PostgreSQL hook

This is not a hypothetical situation, it happened to me… borgmatic failed because I have \pset linestyle unicode and \pset border 2 in .psqlrc.

jirutka pushed to fix-postgres-hook at jirutka/borgmatic 2023-04-14 15:39:03 +00:00
17f122bfe5 Use psql instead of pg_restore when format is "plain"
f0f43174c6 Swap if-else in restore_database_dump in postgresql hook for cleanliness
dfccc1b94a Exit on error when restoring all PostgreSQL databases
195024e505 Fix psql_command and pg_restore_command to accept command with arguments
19a00371f5 Run "psql" with "--no-psqlrc"
Compare 5 commits »
jirutka pushed to fix-postgres-hook at jirutka/borgmatic 2023-04-14 15:18:52 +00:00
589d98c156 Use psql instead of pg_restore when format is "plain"
jirutka pushed to fix-postgres-hook at jirutka/borgmatic 2023-04-14 14:55:25 +00:00
c105bea740 Swap if-else in restore_database_dump in postgresql hook for cleanliness
5a2736bf11 Exit on error when restoring all PostgreSQL databases
4c92d5c1ee Fix psql_command and pg_restore_command to accept command with arguments
92cbf0c922 Run "psql" with "--no-psqlrc"
Compare 4 commits »
jirutka commented on pull request borgmatic-collective/borgmatic#677 2023-04-14 14:33:39 +00:00
Fix multiple bugs in PostgreSQL hook

I think there are issues open for some of these too

I haven’t found any in this repository.

jirutka pushed to fix-postgres-hook at jirutka/borgmatic 2023-04-14 14:32:01 +00:00
ab91570603 Swap if-else in restore_database_dump in postgresql hook for cleanliness
bf2d3e6c7f Exit on error when restoring all PostgreSQL databases
Compare 2 commits »
jirutka created pull request borgmatic-collective/borgmatic#677 2023-04-14 14:21:00 +00:00
Fix multiple bugs in PostgreSQL hook
jirutka pushed to fix-postgres-hook at jirutka/borgmatic 2023-04-14 14:20:15 +00:00
433a5f3dbf Fix psql_command and pg_restore_command to accept command with arguments
ad70b8274f Run "psql" with "--no-psqlrc"
874fba7672 Fix PostgreSQL hook not using "psql_command" for list when dumping "all"
Compare 3 commits »
jirutka created branch fix-postgres-hook in jirutka/borgmatic 2023-04-14 14:20:15 +00:00
jirutka created repository jirutka/borgmatic 2023-04-14 14:18:46 +00:00