OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f046b9
)
Example of a function taking a composite type should show how to call it.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Sat, 24 Jan 2004 22:05:08 +0000
(22:05 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Sat, 24 Jan 2004 22:05:08 +0000
(22:05 +0000)
doc/src/sgml/plpgsql.sgml
patch
|
blob
|
history
diff --git
a/doc/src/sgml/plpgsql.sgml
b/doc/src/sgml/plpgsql.sgml
index
30f7f3c
..
0e7f7ad
100644
(file)
--- a/
doc/src/sgml/plpgsql.sgml
+++ b/
doc/src/sgml/plpgsql.sgml
@@
-1,5
+1,5
@@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.3
3 2004/01/22 19:50:21 neilc
Exp $
+$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.3
4 2004/01/24 22:05:08 tgl
Exp $
-->
<chapter id="plpgsql">
@@
-685,6
+685,8
@@
BEGIN
RETURN in_t.f1 || use_t.f3 || in_t.f5 || use_t.f7;
END;
' LANGUAGE plpgsql;
+
+SELECT use_two_tables(t.*) FROM tablename t WHERE ... ;
</programlisting>
</para>
</sect2>