pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: PL/Tcl: Improve trigger tests organization
Date: Fri, 15 Mar 2019 11:46:07 +0000
Message-ID: <E1h4lHr-0002V3-Oc@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1h4lHr-0002V3-Oc@gemulon.postgresql.org>
Permalink:  ../E1h4lHr-0002V3-Oc@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1h4lHr-0002V3-Oc@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: PL/Tcl: Improve trigger tests organization
  In-Reply-To: <E1h4lHr-0002V3-Oc@gemulon.postgresql.org>
  References: <E1h4lHr-0002V3-Oc@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox