summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rwxr-xr-xtemp-postgres.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c39b236..a546a2a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,7 @@ The format is based on [Keep A Changelog][] and this project adheres to [Semanti
### Changed
* Turned required arguments `dbname` and `username` into optional flags `--dbname` resp. `--username`
+* Listen on UNIX domain socket only to enable multiple running instances
* Ported to Arch Linux
* Ported to FreeBSD
diff --git a/temp-postgres.sh b/temp-postgres.sh
index 96f90d2..e9a901c 100755
--- a/temp-postgres.sh
+++ b/temp-postgres.sh
@@ -81,7 +81,7 @@ initdb --pgdata="${tmpdir}" --username="${username}" || {
}
# Serve the directory
-( postgres -k "${tmpdir}" -D "${tmpdir}" </dev/null ) &
+( postgres -h "" -k "${tmpdir}" -D "${tmpdir}" </dev/null ) &
postgres_pid=$!
# Test the connection
Generated by cgit. See skreutz.com for my tech blog and contact information.