Fix documentation of path(polygon) function.
authorTom Lane <[email protected]>
Mon, 3 Dec 2012 16:08:50 +0000 (11:08 -0500)
committerTom Lane <[email protected]>
Mon, 3 Dec 2012 16:08:50 +0000 (11:08 -0500)
Obviously, this returns type "path", but somebody made a copy-and-pasteo
long ago.

Dagfinn Ilmari Mannsåker

doc/src/sgml/func.sgml

index f8f63d89f91e6fa0b4601f2a604e7d8030e1b4bc..c8a2a149fa8c66bc352764406246ba9123d87f14 100644 (file)
@@ -7872,7 +7872,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
          </indexterm>
          <literal><function>path(<type>polygon</type>)</function></literal>
         </entry>
-        <entry><type>point</type></entry>
+        <entry><type>path</type></entry>
         <entry>polygon to path</entry>
         <entry><literal>path(polygon '((0,0),(1,1),(2,0))')</literal></entry>
        </row>