WIP createdb dialog

This commit is contained in:
eelke 2022-05-24 18:54:13 +02:00
parent c20427e10d
commit d3080a08bb
10 changed files with 113 additions and 45 deletions

View file

@ -8,14 +8,15 @@
class PgDatabase: public PgServerObject {
public:
int encoding;
int encoding = 0;
QString encodingString;
QString collate;
QString ctype;
bool isTemplate;
bool allowConn;
int connLimit;
Oid tablespace;
QString dbTemplate; ///< Not stored in the catalog but can be present in CREATE DATABASE statement
bool isTemplate = false;
bool allowConn = true;
int connLimit = -1;
Oid tablespace = InvalidOid;
using PgServerObject::PgServerObject;