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

Commitd14147d

Browse files
committed
Copy-editing.
1 parent8304a39 commitd14147d

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

‎doc/src/sgml/xfunc.sgml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/xfunc.sgml,v 1.40 2001/10/26 21:17:03 tgl Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/xfunc.sgml,v 1.41 2001/11/01 04:07:29 tgl Exp $
33
-->
44

55
<chapter id="xfunc">
@@ -72,10 +72,13 @@ $Header: /cvsroot/pgsql/doc/src/sgml/xfunc.sgml,v 1.40 2001/10/26 21:17:03 tgl E
7272

7373
<para>
7474
SQL functions execute an arbitrary list of SQL statements, returning
75-
the results of the last query in the list. In the simple (non-set)
75+
the result of the last query in the list, which must be a
76+
<literal>SELECT</>.
77+
In the simple (non-set)
7678
case, the first row of the last query's result will be returned.
77-
(Bear in mind that <quote>the first row</quote> is not well-defined
78-
unless you use <literal>ORDER BY</>.) If the last query happens
79+
(Bear in mind that <quote>the first row</quote> of a multi-row
80+
result is not well-defined unless you use <literal>ORDER BY</>.)
81+
If the last query happens
7982
to return no rows at all, NULL will be returned.
8083
</para>
8184

@@ -441,7 +444,8 @@ SELECT name, listchildren(name) FROM nodes;
441444
(5 rows)
442445
</screen>
443446

444-
Notice that no output row appears for Child2, Child3, etc.
447+
In the last SELECT,
448+
notice that no output row appears for Child2, Child3, etc.
445449
This happens because listchildren() returns an empty set
446450
for those inputs, so no output rows are generated.
447451
</para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp