Remove unnecessary test dependency on the contents of pg_pltemplate.
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/jsonb.out | modified | +13 −9 |
| src/test/regress/expected/json.out | modified | +10 −6 |
| src/test/regress/sql/jsonb.sql | modified | +10 −6 |
| src/test/regress/sql/json.sql | modified | +6 −2 |