|
@ -16,6 +16,10 @@ is_db_locked() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_set_server_db_params() { |
|
|
|
|
|
server_docker_opts+=() |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
_set_db_params() { |
|
|
_set_db_params() { |
|
|
local docker_ip="$1" docker_network="$2" |
|
|
local docker_ip="$1" docker_network="$2" |
|
|
|
|
|
|
|
@ -25,6 +29,7 @@ _set_db_params() { |
|
|
"-e" prefix_pg_local_command=' ') |
|
|
"-e" prefix_pg_local_command=' ') |
|
|
|
|
|
|
|
|
db_cmd_opts+=() |
|
|
db_cmd_opts+=() |
|
|
|
|
|
check_command="SELECT 1;" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
ddb () { dcmd psql -qAt "$@"; } |
|
|
ddb () { dcmd psql -qAt "$@"; } |
|
|