]> granicus.if.org Git - postgresql/commit
Remove unnecessary test dependency on the contents of pg_pltemplate.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 21 Aug 2019 14:43:23 +0000 (10:43 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 21 Aug 2019 14:43:23 +0000 (10:43 -0400)
commitbbd93667bde56d3900add55479759f33d20ece1e
tree6aa7c14fe761a51502fd85d8f848a5eb80a87ae7
parent3f0f99125e5c0fd704de3c07abe691ebefc51a50
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.
src/test/regress/expected/json.out
src/test/regress/expected/jsonb.out
src/test/regress/sql/json.sql
src/test/regress/sql/jsonb.sql