PG18 support, enfoced, virtual cols

This commit is contained in:
lsv 2025-10-03 14:56:27 +05:00
parent f0475130ed
commit 51ec580dce
8 changed files with 36 additions and 15 deletions

View file

@ -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

View file

@ -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;
};