pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove unnecessary test dependency on the contents of pg_pltempl
Date: Wed, 21 Aug 2019 14:43:30 +0000
Message-ID: <E1i0Rpi-0004bD-MN@gemulon.postgresql.org> (raw)

Remove unnecessary test dependency on the contents of pg_pltemplate.

Using pg_pltemplate as test data was probably not very forward-looking,
considering we've had many discussions around removing that catalog
altogether.  Use a nearby temp table instead, to make these two test
scripts more self-contained.  This is a better test case anyway, since
it exercises the scenario where the entries in the anyarray column
actually vary in type intra-query.

Branch
------
master

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

Modified Files
--------------
src/test/regress/expected/json.out  | 16 ++++++++++------
src/test/regress/expected/jsonb.out | 22 +++++++++++++---------
src/test/regress/sql/json.sql       |  8 ++++++--
src/test/regress/sql/jsonb.sql      | 16 ++++++++++------
4 files changed, 39 insertions(+), 23 deletions(-)



Message-ID: <E1i0Rpi-0004bD-MN@gemulon.postgresql.org>
Permalink:  ../E1i0Rpi-0004bD-MN@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1i0Rpi-0004bD-MN@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Remove unnecessary test dependency on the contents of pg_pltempl
  In-Reply-To: <E1i0Rpi-0004bD-MN@gemulon.postgresql.org>
  References: <E1i0Rpi-0004bD-MN@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