8000 Repair comment mangled by a pgindent run long ago · postgrespro/postgres_cluster@68d0e3c · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

8000
Appearance settings

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)
0