pgLab/pglablib/catalog/PgNamespace.h

22 lines
407 B
C
Raw Normal View History

#ifndef PGNAMESPACE_H
#define PGNAMESPACE_H
#include "PgDatabaseObject.h"
#include <QString>
#include <libpq-fe.h>
/// Object representing a namespace within a database
class PgNamespace: public PgDatabaseObject {
public:
Oid owner = InvalidOid;
QString acl;
using PgDatabaseObject::PgDatabaseObject;
bool isSystemCatalog() const;
QString typeName() const override;
};
#endif // PGNAMESPACE_H