mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-12 10:04:14 +02:00
Pick pg_switch_wal()/pg_switch_xlog() based on PostgreSQL version.
One step in making the documentation build for all versions that we support.
This commit is contained in:
parent
e6abdfb5b8
commit
495391c743
@ -193,6 +193,10 @@
|
||||
<p>Add Centos/RHEL 7 option to documentation build.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Pick <code>pg_switch_wal()</code>/<code>pg_switch_xlog()</code> based on <postgres/> version.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Create common <id>if</id> expressions for testing <id>os-type</id>.</p>
|
||||
</release-item>
|
||||
|
@ -109,7 +109,9 @@
|
||||
|
||||
<variable key="postgres-recovery-demo">{[pg-path]}/recovery.conf</variable>
|
||||
|
||||
<variable key="pg-switch-wal">pg_switch_xlog</variable>
|
||||
<!-- Select correct WAL switch function based on the version of PostgreSQL -->
|
||||
<variable key="pg-switch-wal" if="{[pg-version]} < 10">pg_switch_xlog</variable>
|
||||
<variable key="pg-switch-wal" if="{[pg-version]} >= 10">pg_switch_wal</variable>
|
||||
|
||||
<!-- Hosts -->
|
||||
<variable key="host-image">pgbackrest/doc:{[os-type]}</variable>
|
||||
|
Loading…
Reference in New Issue
Block a user