Overview of triggers extended with function name and arguments.

Did a lot of refactoring on the catalog to keep things clean.
This commit is contained in:
eelke 2018-11-18 19:30:45 +01:00
parent 35813ae926
commit fcb191f2cc
44 changed files with 797 additions and 404 deletions

View file

@ -1,12 +1,12 @@
#ifndef PGINDEX_H
#define PGINDEX_H
#include "PgObject.h"
#include "PgSchemaObject.h"
#include "Pgsql_declare.h"
#include <QString>
#include <vector>
class PgIndex : public PgObject {
class PgIndex : public PgSchemaObject {
public:
Oid indexrelid = InvalidOid; // oid of pg_class for this index
@ -30,10 +30,9 @@ public:
QString pred;
QString definition;
PgIndex();
explicit PgIndex(std::weak_ptr<PgDatabaseCatalog> cat);
using PgSchemaObject::PgSchemaObject;
QString getAm() const;
virtual QString objectName() const override;
bool operator==(Oid _oid) const { return indexrelid == _oid; }
//bool operator==(const QString &n) const { return name == n; }