1
0
mirror of https://github.com/dbcli/pgcli synced 2024-06-16 01:42:23 +00:00

search_path query returns implicit schemas (e.g. pg_catalog)

This commit is contained in:
Darik Gamble 2015-04-09 12:38:07 -04:00
parent 41007c549e
commit 3aeb6a720c

View File

@ -66,8 +66,10 @@ def register_hstore_typecaster(conn):
class PGExecute(object):
# The boolean argument to the current_schemas function indicates whether
# implicit schemas, e.g. pg_catalog
search_path_query = '''
SELECT * FROM unnest(current_schemas(false))'''
SELECT * FROM unnest(current_schemas(true))'''
schemata_query = '''
SELECT nspname