mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
committed by
Akshay Joshi
parent
90004119af
commit
d55555c544
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user