]> granicus.if.org Git - postgresql/commitdiff
Properly document return value of strpos().
authorBruce Momjian <bruce@momjian.us>
Wed, 16 Nov 2005 03:56:16 +0000 (03:56 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 16 Nov 2005 03:56:16 +0000 (03:56 +0000)
doc/src/sgml/func.sgml

index 9cc98b3f92ef5d21183105d3eb2202f7c552a243..4b7a0cafba0a07ab5c3730aa712d4cdbf7aa4bbf 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.291 2005/11/04 23:13:59 petere Exp $
+$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.292 2005/11/16 03:56:16 momjian Exp $
 PostgreSQL documentation
 -->
 
@@ -1483,7 +1483,7 @@ PostgreSQL documentation
 
       <row>
        <entry><literal><function>strpos</function>(<parameter>string</parameter>, <parameter>substring</parameter>)</literal></entry>
-       <entry><type>text</type></entry>
+       <entry><type>int</type></entry>
        <entry>
         Location of specified substring (same as
         <literal>position(<parameter>substring</parameter> in