View change last timestamp for functions

Выводит время последнего изменения функции/процедуры, если включено track_commit_timestamp=on.
This commit is contained in:
lsv 2025-09-12 14:59:39 +05:00
parent 7d24d91b0f
commit ece60b55de
2 changed files with 15 additions and 2 deletions

View file

@ -194,6 +194,13 @@ public:
{
return isWindow;
}
void iSetTimestampCommit(wxString& ts)
{
timestampCommit=ts;
}
wxString GetTimestampCommit() {
return timestampCommit;
}
void iSetIsWindow(bool b)
{
isWindow = b;
@ -259,7 +266,7 @@ protected:
pgFunction(pgSchema *newSchema, int newType, const wxString &newName = wxT(""));
private:
wxString returnType, language, volatility, parallel, source, bin;
wxString returnType, language, volatility, parallel, source, bin, timestampCommit;
wxArrayString argNamesArray, argTypesArray, argModesArray, argDefsArray;
bool returnAsSet, secureDefiner, isStrict, isWindow, isLeakProof;
long argCount, cost, rows, argDefValCount, procType;