Skip to content

Commit

Permalink
Added notes on what to set pg-verrsion-force to.
Browse files Browse the repository at this point in the history
  • Loading branch information
djw-m committed Sep 28, 2023
1 parent 07b2cd4 commit bf8ab4c
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,25 @@ For **EDB Postgres Advanced Server**:

```ini
[global]
repo1-path=/var/lib/edb/as13/backups
repo1-path=/var/lib/edb/as15/backups

[demo]
pg1-path=/var/lib/edb/as13/data
pg1-path=/var/lib/edb/as15/data
pg1-user=enterprisedb
pg1-port=5444
pg-version-force=15
```

The `pg-version-force` value should be set to the same major version number as the server reports when using `show server_version_num;` in PSQL. Only the first two digits are the major version. For example, 15000 is major version 15.

For **PostgreSQL**:

```ini
[global]
repo1-path=/var/lib/pgsql/13/backups
repo1-path=/var/lib/pgsql/15/backups

[demo]
pg1-path=/var/lib/pgsql/13/data
pg1-path=/var/lib/pgsql/15/data
pg1-user=postgres
pg1-port=5432
```
Expand Down

0 comments on commit bf8ab4c

Please sign in to comment.