mirror of
https://github.com/postgres/postgres.git
synced 2025-06-03 00:02:26 -04:00
doc: adjust DECLARE docs to mention FOR UPDATE behavior
Reported-by: Peter Eisentraut Discussion: https://postgr.es/m/8dc63ba7-dc56-fc7c-fc16-4fae03e3bfe6@2ndquadrant.com Author: Peter Eisentraut, Tom Lane, me Backpatch-through: 9.3
This commit is contained in:
parent
f963f80970
commit
99164e6952
@ -271,7 +271,8 @@ DECLARE <replaceable class="parameter">name</replaceable> [ BINARY ] [ INSENSITI
|
|||||||
and not use grouping or <literal>ORDER BY</literal>). Cursors
|
and not use grouping or <literal>ORDER BY</literal>). Cursors
|
||||||
that are not simply updatable might work, or might not, depending on plan
|
that are not simply updatable might work, or might not, depending on plan
|
||||||
choice details; so in the worst case, an application might work in testing
|
choice details; so in the worst case, an application might work in testing
|
||||||
and then fail in production.
|
and then fail in production. If <literal>FOR UPDATE</literal> is
|
||||||
|
specified, the cursor is guaranteed to be updatable.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user