projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf9fd80
)
This patch fixes a small error in the Porting PL/SQL to PL/pgSQL
author
Bruce Momjian
Sun, 11 Jul 2004 23:26:51 +0000
(23:26 +0000)
committer
Bruce Momjian
Sun, 11 Jul 2004 23:26:51 +0000
(23:26 +0000)
section where a instr function parameter is mistyped as varchar. It
works properly when changed to integer.
Michael Glaesemann
doc/src/sgml/plpgsql.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/plpgsql.sgml
b/doc/src/sgml/plpgsql.sgml
index 91eb0f2972799ca6e7ae351e0bfc07285e635bf5..b30cc7e83fe7a1eea8972072b4bd359fba8773e9 100644
(file)
--- a/
doc/src/sgml/plpgsql.sgml
+++ b/
doc/src/sgml/plpgsql.sgml
@@
-1,5
+1,5
@@
@@
-2957,7
+2957,7
@@
END;
$$ LANGUAGE plpgsql;
-CREATE FUNCTION instr(varchar, varchar,
varcha
r) RETURNS integer AS $$
+CREATE FUNCTION instr(varchar, varchar,
intege
r) RETURNS integer AS $$
DECLARE
string ALIAS FOR $1;
string_to_search ALIAS FOR $2;