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

Commit12a2121

Browse files
committed
Fix slightly misleading description of PERFORM syntax.
1 parentae72283 commit12a2121

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

‎doc/src/sgml/plpgsql.sgml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.46 2004/08/16 17:52:06 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.47 2004/09/24 18:54:14 tgl Exp $
33
-->
44

55
<chapter id="plpgsql">
@@ -1073,10 +1073,12 @@ END;
10731073
PERFORM <replaceable>query</replaceable>;
10741074
</synopsis>
10751075

1076-
This executes <replaceable>query</replaceable>, which must be a
1077-
<command>SELECT</command> statement, and discards the
1078-
result. <application>PL/pgSQL</application> variables are
1079-
substituted in the query as usual. Also, the special variable
1076+
This executes <replaceable>query</replaceable> and discards the
1077+
result. Write the <replaceable>query</replaceable> the same
1078+
way as you would in an SQL <command>SELECT</> command, but replace the
1079+
initial keyword <command>SELECT</> with <command>PERFORM</command>.
1080+
<application>PL/pgSQL</application> variables will be
1081+
substituted into the query as usual. Also, the special variable
10801082
<literal>FOUND</literal> is set to true if the query produced at
10811083
least one row or false if it produced no rows.
10821084
</para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp