PL/Tcl: Improve trigger tests organization
Peter Eisentraut <peter@eisentraut.org>
PL/Tcl: Improve trigger tests organization The trigger tests for PL/Tcl were spread aroud pltcl_setup.sql and pltcl_queries.sql, mixed with other tests, which makes them hard to follow and edit. Move all the trigger-related pieces to a new file pltcl_trigger.sql. This also makes the test setup more similar to plperl and plpython.
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/tcl/expected/pltcl_queries.out | modified | +9 −374 |
| src/pl/tcl/expected/pltcl_setup.out | modified | +3 −422 |
| src/pl/tcl/expected/pltcl_trigger.out | added | +789 −0 |
| src/pl/tcl/Makefile | modified | +1 −1 |
| src/pl/tcl/sql/pltcl_queries.sql | modified | +7 −116 |
| src/pl/tcl/sql/pltcl_setup.sql | modified | +3 −452 |
| src/pl/tcl/sql/pltcl_trigger.sql | added | +567 −0 |