Skip to content

Commit 8669fe7

Browse files
committed
update README.md
1 parent 6e64203 commit 8669fe7

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,19 @@ We encourage you to use `virtualenv` for your testing environment.
2020

2121
## Usage
2222

23-
> Note: by default testgres runs `initdb`, `pg_ctl`, `psql` provided by `PATH`. To specify a custom postgres installation, set the environment variable `PG_CONFIG` pointing to the `pg_config` executable: `export PG_CONFIG=/path/to/pg_config`.
23+
> Note: by default testgres runs `initdb`, `pg_ctl`, `psql` provided by `PATH`.
24+
25+
There are several ways to specify a custom postgres installation:
26+
27+
* export `PG_CONFIG` environment variable pointing to the `pg_config` executable;
28+
* export `PG_BIN` environment variable pointing to the directory with executable files.
29+
30+
Example:
31+
32+
```bash
33+
export PG_BIN=$HOME/pg_10/bin
34+
python my_tests.py
35+
```
2436

2537

2638
### Overview

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy