mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
PG18 support, enfoced, virtual cols
This commit is contained in:
parent
f0475130ed
commit
51ec580dce
8 changed files with 36 additions and 15 deletions
|
|
@ -95,6 +95,14 @@ public:
|
|||
{
|
||||
valid = b;
|
||||
}
|
||||
bool GetEnforced() const
|
||||
{
|
||||
return enfoced;
|
||||
}
|
||||
void iSetEnforced(const bool b)
|
||||
{
|
||||
enfoced = b;
|
||||
}
|
||||
|
||||
bool DropObject(wxFrame *frame, ctlTree *browser, bool cascaded);
|
||||
wxString GetConstraint();
|
||||
|
|
@ -121,7 +129,7 @@ public:
|
|||
|
||||
private:
|
||||
wxString definition, objectKind, objectName, objectSchema;
|
||||
bool noinherit, valid;
|
||||
bool noinherit, valid,enfoced;
|
||||
};
|
||||
|
||||
class pgCheckCollection : public pgSchemaObjCollection
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ public:
|
|||
|
||||
int GetIconId();
|
||||
|
||||
wxString GetDefinition();
|
||||
wxString GetDefinition(int metatype);
|
||||
wxString GetFullName();
|
||||
|
||||
wxString GetTranslatedMessage(int kindOfMessage) const;
|
||||
|
|
@ -156,6 +156,14 @@ public:
|
|||
{
|
||||
valid = b;
|
||||
}
|
||||
bool GetEnforced() const
|
||||
{
|
||||
return enforced;
|
||||
}
|
||||
void iSetEnforced(const bool b)
|
||||
{
|
||||
enforced = b;
|
||||
}
|
||||
wxString GetRelTableOidStr() const
|
||||
{
|
||||
return NumToStr(relTableOid) + wxT("::oid");
|
||||
|
|
@ -218,7 +226,7 @@ private:
|
|||
fkTable, fkSchema, references, refSchema;
|
||||
wxString fkColumns, refColumns, quotedFkColumns, quotedRefColumns, coveringIndex, match;
|
||||
wxString fkDelColumns, quotedFkDelColumns;
|
||||
bool deferrable, deferred, valid;
|
||||
bool deferrable, deferred, valid, enforced;
|
||||
OID relTableOid;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue