diff options
author | Stefan Kreutz <mail@skreutz.com> | 2022-05-19 10:23:18 +0200 |
---|---|---|
committer | Stefan Kreutz <mail@skreutz.com> | 2022-05-19 10:23:18 +0200 |
commit | 4d96b8b8000291561c6185ee2abc888231112274 (patch) | |
tree | 67f74e854ebe6619b20e0771a52d8b5275e4e3fe /temp-postgres.sh | |
parent | 3dd843c80c051987f957df9d19fa74119be9659a (diff) | |
download | temp-postgres-4d96b8b8000291561c6185ee2abc888231112274.tar |
Add Makefile, README, and manual page
Diffstat (limited to 'temp-postgres.sh')
-rwxr-xr-x | temp-postgres.sh | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/temp-postgres.sh b/temp-postgres.sh index 14d7d16..48bb9e8 100755 --- a/temp-postgres.sh +++ b/temp-postgres.sh @@ -1,6 +1,6 @@ #! /bin/sh -# Copyright (c) 2019-2020 Stefan Kreutz <mail@skreutz.com> +# Copyright (c) 2019, 2020, 2022 Stefan Kreutz <mail@skreutz.com> # # Permission to use, copy, modify, and distribute this software for any purpose # with or without fee is hereby granted, provided that the above copyright @@ -14,16 +14,6 @@ # OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# Run the PostgreSQL server off a temporary data directory. -# -# Expects exactly two arguments: database name and user name. You may also set -# the port by setting the environment variable PGPORT, see postgres(1). -# -# Exits 0 on SIGINT, and >0 if an error occurs. -# -# First published at https://www.skreutz.com/posts/temporary-postgresql-server/ -# on 14 October 2020. - set -o nounset # Remove the temporary directory before exiting. |