You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: testgres/plugins/pg_probackup2/README.md
+6-14Lines changed: 6 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -16,22 +16,14 @@ The package requires testgres~=1.9.3.
16
16
17
17
## Usage
18
18
19
-
### Environment
19
+
### Environment variables
20
20
21
-
> Note: by default testgres runs `initdb`, `pg_ctl`, `psql` provided by `PATH`.
22
-
23
-
There are several ways to specify a custom postgres installation:
24
-
25
-
* export `PG_CONFIG` environment variable pointing to the `pg_config` executable;
26
-
* export `PG_BIN` environment variable pointing to the directory with executable files.
27
-
28
-
Example:
29
-
30
-
```bash
31
-
export PG_BIN=$HOME/pg/bin
32
-
python my_tests.py
33
-
```
21
+
| Variable | Required | Default value | Description |
22
+
| - | - | - | - |
23
+
| PGPROBACKUP_TMP_DIR | No | tmp_dirs | The root of the temporary directory hierarchy where tests store data and logs. Relative paths start from the `tests` directory. |
24
+
| PG_PROBACKUP_TEST_BACKUP_DIR_PREFIX | No | Temporary test hierarchy | Prefix of the test backup directories. Must be an absolute path. Use this variable to store test backups in a location other than the temporary test hierarchy. |
34
25
26
+
See [Testgres](https://github.com/postgrespro/testgres/tree/master#environment) on how to configure a custom Postgres installation using `PG_CONFIG` and `PG_BIN` environment variables.
0 commit comments