Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8dbd10d

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. Itworks properly when changed to integer.Michael Glaesemann
1 parentcf9fd80 commit8dbd10d

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/1121:48:24 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.41 2004/07/1123: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)

[8]ページ先頭

©2009-2025 Movatter.jp