From 9a625282dfabaa15384757c1c2614b19315ee614 Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Tue, 20 Nov 2018 16:30:49 +0100 Subject: [PATCH] [FIX]PGCLI : use dsn with database correctly --- odoo/flectra/pgcli.sh | 2 +- odoo/golem/pgcli.sh | 2 +- odoo/odoo/pgcli.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/odoo/flectra/pgcli.sh b/odoo/flectra/pgcli.sh index 079a6f6..67eb4bb 100644 --- a/odoo/flectra/pgcli.sh +++ b/odoo/flectra/pgcli.sh @@ -1,3 +1,3 @@ #!/bin/bash -./.local/bin/pgcli postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@${DB_HOST:=postgres} -d "$@" +./.local/bin/pgcli postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@${DB_HOST:=postgres}/"$@" diff --git a/odoo/golem/pgcli.sh b/odoo/golem/pgcli.sh index 079a6f6..67eb4bb 100644 --- a/odoo/golem/pgcli.sh +++ b/odoo/golem/pgcli.sh @@ -1,3 +1,3 @@ #!/bin/bash -./.local/bin/pgcli postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@${DB_HOST:=postgres} -d "$@" +./.local/bin/pgcli postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@${DB_HOST:=postgres}/"$@" diff --git a/odoo/odoo/pgcli.sh b/odoo/odoo/pgcli.sh index 079a6f6..67eb4bb 100644 --- a/odoo/odoo/pgcli.sh +++ b/odoo/odoo/pgcli.sh @@ -1,3 +1,3 @@ #!/bin/bash -./.local/bin/pgcli postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@${DB_HOST:=postgres} -d "$@" +./.local/bin/pgcli postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@${DB_HOST:=postgres}/"$@"