#ifndef PGDATABASE_H #define PGDATABASE_H #include "PgServerObject.h" #include #include class PgDatabase: public PgServerObject { public: Oid dba; // owner? int encoding; QString encodingString; QString collate; QString ctype; bool isTemplate; bool allowConn; int connLimit; Oid tablespace; int64_t sizeBytes; QString description; using PgServerObject::PgServerObject; bool isValid() const { return oid() != InvalidOid; } QString typeName() const override; }; #endif // PGDATABASE_H