psql: show unknown if database connection fails
Compare changes
+ 23
− 16
@@ -14,6 +14,7 @@
@@ -35,10 +36,20 @@ out=" "
@@ -47,7 +58,7 @@ function _uninstall(){
@@ -56,20 +67,18 @@ function _install(){
@@ -86,8 +95,7 @@ export PGHOST=localhost
@@ -116,8 +124,8 @@ OPTIONS:
@@ -135,7 +143,7 @@ EOH
@@ -200,8 +208,7 @@ fi
@@ -213,7 +220,7 @@ sMode=$(ph.getValueWithParam '' m "$@")
@@ -260,7 +267,7 @@ case "${sMode}" in