The oid column is now shown for tables that are "with oids".

This commit is contained in:
eelke 2017-12-17 19:54:23 +01:00
parent 172e2bcd1d
commit 7051ef2efc
5 changed files with 23 additions and 9 deletions

View file

@ -2,6 +2,7 @@
#define TABLESTABLEMODEL_H
#include "BaseTableModel.h"
#include "PgClass.h"
#include <memory>
#include <vector>
@ -32,6 +33,7 @@ public:
int columnCount(const QModelIndex &parent) const override;
virtual QVariant data(const QModelIndex &index, int role) const override;
PgClass getTable(int row) const;
Oid getTableOid(int row) const;
protected:
virtual Oid getType(int column) const override;