mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-23 09:16:29 -06:00
Fix small issue which is required to support the custom schema in re_sql test cases.
This commit is contained in:
parent
11a3aa56be
commit
7c38c1cb38
@ -78,7 +78,7 @@ def verify_schemas(server, db_name, schema_name):
|
||||
server['port'],
|
||||
server['sslmode'])
|
||||
pg_cursor = connection.cursor()
|
||||
pg_cursor.execute("SELECT * FROM pg_namespace sch"
|
||||
pg_cursor.execute("SELECT oid,* FROM pg_namespace sch"
|
||||
" WHERE sch.nspname='%s'" % schema_name)
|
||||
schema = pg_cursor.fetchone()
|
||||
connection.close()
|
||||
|
Loading…
Reference in New Issue
Block a user