Sorry for late reply.
I got this error while compiling the patch.
utils/pasteTables.cpp:12:34: error: utils/PgadminScanner.h: No such file or directory
utils/pasteTables.cpp: In member function ‘virtual wxString pgRuleCopyPaste::GetSql(ctlTree*)’:
utils/pasteTables.cpp:2135: error: ‘qualified_identifier_dot_pos_cpp’ was not declared in this scope
utils/pasteTables.cpp:2161: error: ‘scan_SQL_cpp’ was not declared in this scope
utils/pasteTables.cpp:2165: error: ‘parse_rule_cpp’ was not declared in this scope
utils/pasteTables.cpp:2171: error: ‘destroylist_cpp’ was not declared in this scope
utils/pasteTables.cpp: In member function ‘virtual wxString pgTriggerCopyPaste::GetSql(ctlTree*)’:
utils/pasteTables.cpp:2212: error: ‘qualified_identifier_dot_pos_cpp’ was not declared in this scope
make[3]: *** [utils/pasteTables.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Please use the camel-case for name and avoid using struct (use class instead).