Skip to content

Commit 68d0e3c

Browse files
committed
Repair comment mangled by a pgindent run long ago
1 parent eeb6f37 commit 68d0e3c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/backend/commands/lockcmds.c

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,13 @@ LockTableCommand(LockStmt *lockstmt)
3838
{
3939
ListCell *p;
4040

41-
/*
42-
* During recovery we only accept these variations: LOCK TABLE foo IN
43-
* ACCESS SHARE MODE LOCK TABLE foo IN ROW SHARE MODE LOCK TABLE foo IN
44-
* ROW EXCLUSIVE MODE This test must match the restrictions defined in
45-
* LockAcquire()
41+
/*---------
42+
* During recovery we only accept these variations:
43+
* LOCK TABLE foo IN ACCESS SHARE MODE
44+
* LOCK TABLE foo IN ROW SHARE MODE
45+
* LOCK TABLE foo IN ROW EXCLUSIVE MODE
46+
* This test must match the restrictions defined in LockAcquireExtended()
47+
*---------
4648
*/
4749
if (lockstmt->mode > RowExclusiveLock)
4850
PreventCommandDuringRecovery("LOCK TABLE");

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