]> granicus.if.org Git - postgis/commitdiff
Updated AddGeometryColumn() and DropGeometryColumn() descriptions to the schema-aware...
authorSandro Santilli <strk@keybit.net>
Fri, 19 Mar 2004 16:35:49 +0000 (16:35 +0000)
committerSandro Santilli <strk@keybit.net>
Fri, 19 Mar 2004 16:35:49 +0000 (16:35 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@489 b70326c6-7e19-0410-871a-916f4a2858ee

doc/postgis.xml

index bf2f5263c2efa385c630472fe69aa9f62e9a79dc..f4a4c628a4ee770e5ebdb87b3c4291bd7d69949b 100644 (file)
@@ -1689,10 +1689,10 @@ if( geom.getType() = Geometry.POLYGON )
                                <varlistentry> 
                                        <term>AddGeometryColumn(varchar, varchar, varchar, integer, varchar, integer)</term> 
                                        <listitem> 
-                                               <para>Syntax: AddGeometryColumn(&lt;db_name&gt;,
+                                               <para>Syntax: AddGeometryColumn(&lt;schema_name&gt;,
                                                  &lt;table_name&gt;, &lt;column_name&gt;, &lt;srid&gt;, &lt;type&gt;,
                                                  &lt;dimension&gt;). Adds a geometry column to an existing table of attributes.
-                                                 The <varname>dbname</varname> is the name of the database instance.
+                                                 The <varname>schema_name</varname> is the name of the table schema (unused for pre-schema PostgreSQL installations).
                                                  The <varname>srid</varname> must be an integer value reference to an
                                                  entry in the SPATIAL_REF_SYS table. The <varname>type</varname> must
                                                  be an uppercase string corresponding to the geometry type, eg, 'POLYGON'
@@ -1703,8 +1703,8 @@ if( geom.getType() = Geometry.POLYGON )
                                <varlistentry>
                                        <term>DropGeometryColumn(varchar, varchar, varchar)</term>
                                        <listitem>
-                                               <para>Syntax: DropGeometryColumn(&lt;db_name&gt;, &lt;table_name&gt;,
-                                                 &lt;column_name&gt;). Remove a geometry column from a spatial table.
+                                               <para>Syntax: DropGeometryColumn(&lt;schema_name&gt;, &lt;table_name&gt;,
+                                                 &lt;column_name&gt;). Remove a geometry column from a spatial table. Note that <var>schema_name</var> will need to match the f_schema_name field of the table's row in the geometry_columns table.
                                                </para>
                                        </listitem>
                                </varlistentry>