Fix small issue which is required to support the custom schema in re_sql test cases.

This commit is contained in:
Khushboo Vashi 2019-07-08 12:33:31 +05:30 committed by Akshay Joshi
parent 11a3aa56be
commit 7c38c1cb38

View File

@ -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()