Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Commit

Permalink
Fix the SQL for existing triggers
Browse files Browse the repository at this point in the history
Columns weren't quoted.

Per report from Bartosz Dmytrak.
  • Loading branch information
gleu committed Feb 21, 2012
1 parent c76a7b0 commit a62f046
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG
Expand Up @@ -37,6 +37,8 @@ Changes

Date Dev Ver Change details
---------- --- ------ --------------
2012-02-21 GL 1.14.2 Fix the SQL for existing triggers, per report from
Bartosz Dmytrak.
2012-02-21 GL 1.14.2 Fix the SQL for existing extensions.
2012-02-20 GL 1.14.2 Correctly save the position of a pgDialog.
2012-02-19 GL 1.14.2 Fix the copy of a query when application_name is unset.
Expand Down
2 changes: 1 addition & 1 deletion pgadmin/schema/pgTrigger.cpp
Expand Up @@ -299,7 +299,7 @@ void pgTrigger::ReadColumnDetails()
}

columns += res->GetVal(wxT("attname"));
quotedColumns += res->GetVal(wxT("attname"));
quotedColumns += qtIdent(res->GetVal(wxT("attname")));
columnList.Add(res->GetVal(wxT("attname")));

i++;
Expand Down

0 comments on commit a62f046

Please sign in to comment.