From f3bbef1cf4cb68fdd7149782b50321db540aa407 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Tue, 8 Oct 2019 10:22:42 +0200 Subject: [PATCH] new: [postgres] compatibility with new compose 1.2.0 --- postgres/lib/common | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/postgres/lib/common b/postgres/lib/common index 34e351b5..5fda527b 100644 --- a/postgres/lib/common +++ b/postgres/lib/common @@ -16,6 +16,10 @@ is_db_locked() { } +_set_server_db_params() { + server_docker_opts+=() +} + _set_db_params() { local docker_ip="$1" docker_network="$2" @@ -25,6 +29,7 @@ _set_db_params() { "-e" prefix_pg_local_command=' ') db_cmd_opts+=() + check_command="SELECT 1;" } ddb () { dcmd psql -qAt "$@"; }