pgsql: Remove unnecessary test dependency on the contents of pg_pltempl

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove unnecessary test dependency on the contents of pg_pltempl
Date: 2019-08-21 14:43:30
Message-ID: E1i0Rpi-0004bD-MN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2019-08-21 15:14:10 pgsql: Fix typo
Previous Message Peter Eisentraut 2019-08-21 10:05:29 pgsql: Remove master/slave usage from plpgsql tests