pgsql: Add test for copy of shared dependencies from template database - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Add test for copy of shared dependencies from template database
Date
Msg-id E1mfcxv-0005oC-S9@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add test for copy of shared dependencies from template database

As 98ec35b has proved, there has never been any coverage in this area of
the code.  This commit adds a new TAP test with a template database that
includes a small set of shared dependencies copied to a new database.
The test is added in createdb, where we have never tested that -T
generates a query with TEMPLATE, either.

Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/YXDTl+PfSnqmbbkE@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/70bfc5ae537c8bfeed4849b7d9f814de89a155fe

Modified Files
--------------
src/bin/scripts/t/020_createdb.pl | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: pgsql: Allow GRANT on pg_log_backend_memory_contexts().
Next
From: Magnus Hagander
Date:
Subject: pgsql: Clarify that --system reindexes system catalogs *only*