[postgis-tickets] r17973 - [run_test] When counting pre-post test objects, skip target schema

Sandro Santilli strk at kbt.io
Fri Oct 18 09:07:50 PDT 2019


Author: strk
Date: 2019-10-18 09:07:50 -0700 (Fri, 18 Oct 2019)
New Revision: 17973

Modified:
   trunk/regress/run_test.pl
Log:
[run_test] When counting pre-post test objects, skip target schema

Modified: trunk/regress/run_test.pl
===================================================================
--- trunk/regress/run_test.pl	2019-10-18 16:06:34 UTC (rev 17972)
+++ trunk/regress/run_test.pl	2019-10-18 16:07:50 UTC (rev 17973)
@@ -1270,7 +1270,9 @@
 		select count(*) from pg_operator union all
 		select count(*) from pg_opclass union all
 		select count(*) from pg_namespace
-			where nspname NOT LIKE 'pg_%' union all
+			where nspname NOT LIKE 'pg_%'
+			  and nspname != '${OPT_SCHEMA}'
+		union all
 		select count(*) from pg_opfamily
 		)
 		select sum(count) from counts");



More information about the postgis-tickets mailing list