pgsql: Add test for copy of shared dependencies from template database
Started by Michael Paquierover 4 years ago1 messagescomitters
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: /messages/by-id/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(-)