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:
parent
41007c549e
commit
3aeb6a720c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user