diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -13,12 +13,6 @@ Create and serve a temporary database: temp-postgres ``` -Specify a database name, and PostgreSQL user name: - -```sh -temp-postgres --dbname myproject --username alex -``` - Wrap the `psql` command to connect to the temporary database once the server is ready: ```sh @@ -44,6 +38,20 @@ platform = { host = 'cfg(unix)' } run-wrapper = 'temp-postgres' ``` +Set up a symlink to enable static client configuration: + +```sh +temp-postgres --symlink ./db +psql --host "$(realpath ./db)" +``` + +Specify a database name, and PostgreSQL user name: + +```sh +temp-postgres --dbname myproject --username alex +``` + + See the manual page for details. ## Dependencies |