diff options
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. |