Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
d14147de
Commit
d14147de
authored
Nov 01, 2001
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Copy-editing.
parent
8304a395
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
doc/src/sgml/xfunc.sgml
doc/src/sgml/xfunc.sgml
+9
-5
No files found.
doc/src/sgml/xfunc.sgml
View file @
d14147de
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/xfunc.sgml,v 1.4
0 2001/10/26 21:17:03
tgl Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/xfunc.sgml,v 1.4
1 2001/11/01 04:07:29
tgl Exp $
-->
<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
<para>
SQL functions execute an arbitrary list of SQL statements, returning
the results of the last query in the list. In the simple (non-set)
the result of the last query in the list, which must be a
<literal>SELECT</>.
In the simple (non-set)
case, the first row of the last query's result will be returned.
(Bear in mind that <quote>the first row</quote> is not well-defined
unless you use <literal>ORDER BY</>.) If the last query happens
(Bear in mind that <quote>the first row</quote> of a multi-row
result is not well-defined unless you use <literal>ORDER BY</>.)
If the last query happens
to return no rows at all, NULL will be returned.
</para>
...
...
@@ -441,7 +444,8 @@ SELECT name, listchildren(name) FROM nodes;
(5 rows)
</screen>
Notice that no output row appears for Child2, Child3, etc.
In the last SELECT,
notice that no output row appears for Child2, Child3, etc.
This happens because listchildren() returns an empty set
for those inputs, so no output rows are generated.
</para>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment