The trigger SQL now also shows the function definition.

This commit is contained in:
eelke 2019-02-09 17:36:37 +01:00
parent 3fdd42ffb2
commit b08bd1a315
2 changed files with 8 additions and 0 deletions

View file

@ -343,7 +343,9 @@ QString PgProc::createSql() const
// sql += wxT("\n")
// + GetGrant(wxT("X"), wxT("FUNCTION ") + qtSig);
sql += "\n";
sql += alterOwnerSql("FUNCTION " + quoted_sig);
sql += "\n";
sql += grantSql();
// if (!GetComment().IsNull())