From: Regina Obe Date: Sun, 14 Dec 2008 01:50:44 +0000 (+0000) Subject: Add create table, add geom, drop column, drop table to batch of tortures X-Git-Tag: 1.4.0b1~425 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4519f21dc452b8922816226b296a53545901077d;p=postgis Add create table, add geom, drop column, drop table to batch of tortures git-svn-id: http://svn.osgeo.org/postgis/trunk@3396 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/xsl/postgis_gardentest.sql.xsl b/doc/xsl/postgis_gardentest.sql.xsl index d28ae31a0..a376e4b2a 100644 --- a/doc/xsl/postgis_gardentest.sql.xsl +++ b/doc/xsl/postgis_gardentest.sql.xsl @@ -37,6 +37,28 @@ + + +SELECT 'create,insert,drop Test: Start Testing Multi/'; +BEGIN; + CREATE TABLE pgis_garden (gid serial); + SELECT AddGeometryColumn('pgis_garden','the_geom',ST_SRID(the_geom),GeometryType(the_geom),ST_CoordDim(the_geom)) + FROM () As foo limit 1; + SELECT AddGeometryColumn('pgis_garden','the_geom_multi',ST_SRID(the_geom),GeometryType(ST_Multi(the_geom)),ST_CoordDim(the_geom)) + FROM () As foo limit 1; + INSERT INTO pgis_garden(the_geom, the_geom_multi) + SELECT the_geom, ST_Multi(the_geom) + FROM () As foo; + + SELECT DropGeometryColumn ('pgis_garden','the_geom'); + SELECT DropGeometryTable ('pgis_garden'); +COMMIT; +SELECT 'create,insert,drop Test: Start Testing Multi/'; + + + + + +