]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Add docs for a couple of formerly-undocumented geometric conversion functions.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 26 Jan 2005 20:42:26 +0000 (20:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 26 Jan 2005 20:42:26 +0000 (20:42 +0000)
doc/src/sgml/func.sgml

index 2a1f6d86930f547daefff09f1dcf318f3ca788db..d427d5026a353a36c6d42f3225474b6f355b055a 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.234.4.1 2005/01/22 23:05:47 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.234.4.2 2005/01/26 20:42:26 tgl Exp $
 PostgreSQL documentation
 -->
 
@@ -6096,7 +6096,7 @@ SELECT TIMESTAMP 'now';
        <row>
         <entry><literal><function>circle</function>(<type>point</type>, <type>double precision</type>)</literal></entry>
         <entry><type>circle</type></entry>
-        <entry>point and radius to circle</entry>
+        <entry>center and radius to circle</entry>
         <entry><literal>circle(point '(0,0)', 2.0)</literal></entry>
        </row>
        <row>
@@ -6117,12 +6117,31 @@ SELECT TIMESTAMP 'now';
         <entry>polygon to path</entry>
         <entry><literal>path(polygon '((0,0),(1,1),(2,0))')</literal></entry>
        </row>
+       <row>
+        <entry><literal><function>point</function>(<type>double
+         precision</type>, <type>double precision</type>)</literal></entry>
+        <entry><type>point</type></entry>
+        <entry>construct point</entry>
+        <entry><literal>point(23.4, -44.5)</literal></entry>
+       </row>
+       <row>
+        <entry><literal><function>point</function>(<type>box</type>)</literal></entry>
+        <entry><type>point</type></entry>
+        <entry>center of box</entry>
+        <entry><literal>point(box '((-1,0),(1,0))')</literal></entry>
+       </row>
        <row>
         <entry><literal><function>point</function>(<type>circle</type>)</literal></entry>
         <entry><type>point</type></entry>
         <entry>center of circle</entry>
         <entry><literal>point(circle '((0,0),2.0)')</literal></entry>
        </row>
+       <row>
+        <entry><literal><function>point</function>(<type>lseg</type>)</literal></entry>
+        <entry><type>point</type></entry>
+        <entry>center of lseg</entry>
+        <entry><literal>point(lseg '((-1,0),(1,0))')</literal></entry>
+       </row>
        <row>
         <entry><literal><function>point</function>(<type>lseg</type>, <type>lseg</type>)</literal></entry>
         <entry><type>point</type></entry>