Skip to content

Commit 99164e6

Browse files
committed
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
1 parent f963f80 commit 99164e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/src/sgml/ref/declare.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,8 @@ DECLARE <replaceable class="parameter">name</replaceable> [ BINARY ] [ INSENSITI
271271
and not use grouping or <literal>ORDER BY</literal>). Cursors
272272
that are not simply updatable might work, or might not, depending on plan
273273
choice details; so in the worst case, an application might work in testing
274-
and then fail in production.
274+
and then fail in production. If <literal>FOR UPDATE</literal> is
275+
specified, the cursor is guaranteed to be updatable.
275276
</para>
276277

277278
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy