1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-03 00:26:59 +02:00

Disable query parallelism in PostgreSQL sessions used for backup control.

There is no need to have parallelism enabled in a backup control session. In particular, 9.6 marks pg_stop_backup() as parallel-safe but an error will be thrown if pg_stop_backup() is run in a worker.
This commit is contained in:
David Steele
2020-06-25 08:02:48 -04:00
parent c5a507b9a6
commit ea04ec7b3f
7 changed files with 45 additions and 7 deletions

View File

@ -52,6 +52,9 @@ Version where various PostgreSQL capabilities were introduced
// recovery target action supported
#define PG_VERSION_RECOVERY_TARGET_ACTION PG_VERSION_95
// parallel query supported
#define PG_VERSION_PARALLEL_QUERY PG_VERSION_96
// xlog was renamed to wal
#define PG_VERSION_WAL_RENAME PG_VERSION_10