Fixed an issue where sequences are not created. Fixes #6128

refs #6084
This commit is contained in:
Rahul Shirsat
2021-01-11 17:29:08 +05:30
committed by Akshay Joshi
parent 90004119af
commit d55555c544
30 changed files with 250 additions and 82 deletions

View File

@@ -207,7 +207,8 @@ class ServerManager(object):
SELECT
db.oid as did, db.datname, db.datallowconn,
pg_encoding_to_char(db.encoding) AS serverencoding,
has_database_privilege(db.oid, 'CREATE') as cancreate, datlastsysoid
has_database_privilege(db.oid, 'CREATE') as cancreate, datlastsysoid,
datistemplate
FROM
pg_database db
WHERE db.oid = {0}""".format(did))