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 0154332 commit dcc728eCopy full SHA for dcc728e
doc/src/sgml/plpgsql.sgml
@@ -845,6 +845,9 @@ PERFORM <replaceable>query</replaceable>;
845
result. Write the <replaceable>query</replaceable> the same
846
way you would write an SQL <command>SELECT</> command, but replace the
847
initial keyword <command>SELECT</> with <command>PERFORM</command>.
848
+ For <keyword>WITH</> queries, use <keyword>PERFORM</> and then
849
+ place the query in parentheses. (In this case, the query can only
850
+ return one row.)
851
<application>PL/pgSQL</application> variables will be
852
substituted into the query just as for commands that return no result,
853
and the plan is cached in the same way. Also, the special variable
0 commit comments