Content-Length: 267999 | pFad | http://github.com/postgrespro/postgres/commit/8dbd10d96df3b497e080d9e0d2a0e0d9df34efc3

4A This patch fixes a small error in the Porting PL/SQL to PL/pgSQL · postgrespro/postgres@8dbd10d · GitHub
Skip to content

Commit 8dbd10d

Browse files
committed
This patch fixes a small error in the Porting PL/SQL to PL/pgSQL
section where a instr function parameter is mistyped as varchar. It works properly when changed to integer. Michael Glaesemann
1 parent cf9fd80 commit 8dbd10d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/plpgsql.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.40 2004/07/11 21:48:24 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.41 2004/07/11 23:26:51 momjian Exp $
33
-->
44

55
<chapter id="plpgsql">
@@ -2957,7 +2957,7 @@ END;
29572957
$$ LANGUAGE plpgsql;
29582958

29592959

2960-
CREATE FUNCTION instr(varchar, varchar, varchar) RETURNS integer AS $$
2960+
CREATE FUNCTION instr(varchar, varchar, integer) RETURNS integer AS $$
29612961
DECLARE
29622962
string ALIAS FOR $1;
29632963
string_to_search ALIAS FOR $2;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/8dbd10d96df3b497e080d9e0d2a0e0d9df34efc3

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy