aboutsummaryrefslogtreecommitdiffstats
path: root/src/_pgsql_utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/_pgsql_utils')
-rw-r--r--src/_pgsql_utils2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_pgsql_utils b/src/_pgsql_utils
index 2a8dffd..19281b9 100644
--- a/src/_pgsql_utils
+++ b/src/_pgsql_utils
@@ -104,7 +104,7 @@ _pgsql_databases () {
_pgsql_db_sql="select d.datname from pg_catalog.pg_database d \
where d.datname <> 'template0'"
- compadd "$@" - $( psql $_pgsql_params[@] -Atq -c $_pgsql_db_sql 2>/dev/null )
+ compadd "$@" - $( psql $_pgsql_params[@] -Atq -c $_pgsql_db_sql template1 2>/dev/null )
}