]> granicus.if.org Git - postgis/commitdiff
Fix testsuite with custom POSTGIS_REGRESS_DB set
authorSandro Santilli <strk@keybit.net>
Fri, 11 Apr 2014 09:26:39 +0000 (09:26 +0000)
committerSandro Santilli <strk@keybit.net>
Fri, 11 Apr 2014 09:26:39 +0000 (09:26 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@12468 b70326c6-7e19-0410-871a-916f4a2858ee

regress/typmod.sql
regress/typmod_expected

index 83c5bcde3db350ca74947eabd4ea11cb35449ac0..f1e7bcfeb286fd418fdf1df581420a3c2db7416c 100644 (file)
@@ -223,9 +223,9 @@ SELECT 'gg',
  coord_dimension, srid, type
 from geography_columns ORDER BY f_table_name;
 
-SELECT distinct 'catalog-schema', f_table_catalog,f_table_schema FROM geometry_columns
+SELECT distinct 'catalog-schema', f_table_catalog = current_database(),f_table_schema FROM geometry_columns
 UNION
-SELECT distinct 'catalog-schema', f_table_catalog,f_table_schema FROM geography_columns
+SELECT distinct 'catalog-schema', f_table_catalog = current_database(),f_table_schema FROM geography_columns
 ;
 
 CREATE TABLE tm.types (id serial, g geometry);
index 55df91822caecc77670ed402f53a994acb5d5be3..1cf5a8a251bd4625fc2718d28d2b1ea74d6b97e7 100644 (file)
@@ -286,7 +286,7 @@ gg|polygonz4326|gg|3|4326|PolygonZ
 gg|polygonzm|gg|4|4326|PolygonZM
 gg|polygonzm0|gg|4|4326|PolygonZM
 gg|polygonzm4326|gg|4|4326|PolygonZM
-catalog-schema|postgis_reg|tm
+catalog-schema|t|tm
 circularstring|0|Point|0|KO-BKO
 circularstring|0|LineString|0|KO-BKO
 circularstring|0|Polygon|0|KO-BKO