diff options
| author | Stefan Kreutz <mail@skreutz.com> | 2026-04-16 01:33:50 +0200 |
|---|---|---|
| committer | Stefan Kreutz <mail@skreutz.com> | 2026-04-16 01:33:50 +0200 |
| commit | d07eaac0131f81db0dbacfbdae211e89254e2a05 (patch) | |
| tree | 30ac50929a59d59f2f063eb702f3f910e7e41108 /temp-postgres.sh | |
| parent | c3eb3d7264fd77ef88320251f910accd6df8164a (diff) | |
| download | temp-postgres-d07eaac0131f81db0dbacfbdae211e89254e2a05.tar.gz | |
Listen on UNIX domain socket only
This is a breaking change.
Diffstat (limited to 'temp-postgres.sh')
| -rwxr-xr-x | temp-postgres.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |