pgsql: PL/Tcl: Improve trigger tests organization - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: PL/Tcl: Improve trigger tests organization
Date
Msg-id E1h4lHr-0002V3-Oc@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/aefcc2bba211b738b3dd3cb393d9cdfcbcdc83cd

Modified Files
--------------
src/pl/tcl/Makefile                   |   2 +-
src/pl/tcl/expected/pltcl_queries.out | 383 +----------------
src/pl/tcl/expected/pltcl_setup.out   | 425 +-----------------
src/pl/tcl/expected/pltcl_trigger.out | 789 ++++++++++++++++++++++++++++++++++
src/pl/tcl/sql/pltcl_queries.sql      | 123 +-----
src/pl/tcl/sql/pltcl_setup.sql        | 455 +-------------------
src/pl/tcl/sql/pltcl_trigger.sql      | 567 ++++++++++++++++++++++++
7 files changed, 1379 insertions(+), 1365 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Add walreceiver API to get remote server version
Next
From: Robert Haas
Date:
Subject: Re: pgsql: Fix thinko when bumping on temporary directories in pg_verify_ch