Skip to content

Commit 0152f14

Browse files
committed
Example of a function taking a composite type should show how to call it.
1 parent 6f046b9 commit 0152f14

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/src/sgml/plpgsql.sgml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.33 2004/01/22 19:50:21 neilc Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.34 2004/01/24 22:05:08 tgl Exp $
33
-->
44

55
<chapter id="plpgsql">
@@ -685,6 +685,8 @@ BEGIN
685685
RETURN in_t.f1 || use_t.f3 || in_t.f5 || use_t.f7;
686686
END;
687687
' LANGUAGE plpgsql;
688+
689+
SELECT use_two_tables(t.*) FROM tablename t WHERE ... ;
688690
</programlisting>
689691
</para>
690692
</sect2>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy