8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae92eff commit 6f94280Copy full SHA for 6f94280
doc/src/sgml/plpgsql.sgml
@@ -940,6 +940,9 @@ PERFORM <replaceable>query</replaceable>;
940
result. Write the <replaceable>query</replaceable> the same
941
way you would write an SQL <command>SELECT</> command, but replace the
942
initial keyword <command>SELECT</> with <command>PERFORM</command>.
943
+ For <keyword>WITH</> queries, use <keyword>PERFORM</> and then
944
+ place the query in parentheses. (In this case, the query can only
945
+ return one row.)
946
<application>PL/pgSQL</application> variables will be
947
substituted into the query just as for commands that return no result,
948
and the plan is cached in the same way. Also, the special variable
0 commit comments