Subject: [PATCH] Fix return type documentation for path(polygon) function

From: "Dagfinn Ilmari Mannsåker" <[email-masked]>
Date: Wed, 28 Nov 2012 13:03:51 +0000

---
 doc/src/sgml/func.sgml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index f8f63d8..c8a2a14 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -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>
-- 
1.7.4.1

-- 
Sent via pgsql-docs mailing list ([email-masked])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

---

From: Tom Lane <[email-masked]>
Date: Mon, 03 Dec 2012 11:10:09 -0500

>          <entry><literal>path(polygon '((0,0),(1,1),(2,0))')</literal></entry>

Applied, thanks for catching it.

			regards, tom lane