[FIX]PGCLI : use dsn with database correctly

This commit is contained in:
Fabien BOURGEOIS 2018-11-20 16:30:49 +01:00
parent 1c819acddb
commit 9a625282df
3 changed files with 3 additions and 3 deletions

View File

@ -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}/"$@"

View File

@ -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}/"$@"

View File

@ -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}/"$@"