pgsql: PL/Tcl: Improve trigger tests organization

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: PL/Tcl: Improve trigger tests organization
Date: 2019-03-15 11:46:07
Message-ID: E1h4lHr-0002V3-Oc@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2019-03-15 14:09:57 Re: pgsql: Fix thinko when bumping on temporary directories in pg_verify_ch
Previous Message Peter Eisentraut 2019-03-15 09:34:17 pgsql: Add walreceiver API to get remote server version