Commit 68d0e3cb authored by Alvaro Herrera's avatar Alvaro Herrera

Repair comment mangled by a pgindent run long ago

parent eeb6f37d
...@@ -38,11 +38,13 @@ LockTableCommand(LockStmt *lockstmt) ...@@ -38,11 +38,13 @@ LockTableCommand(LockStmt *lockstmt)
{ {
ListCell *p; ListCell *p;
/* /*---------
* During recovery we only accept these variations: LOCK TABLE foo IN * During recovery we only accept these variations:
* ACCESS SHARE MODE LOCK TABLE foo IN ROW SHARE MODE LOCK TABLE foo IN * LOCK TABLE foo IN ACCESS SHARE MODE
* ROW EXCLUSIVE MODE This test must match the restrictions defined in * LOCK TABLE foo IN ROW SHARE MODE
* LockAcquire() * LOCK TABLE foo IN ROW EXCLUSIVE MODE
* This test must match the restrictions defined in LockAcquireExtended()
*---------
*/ */
if (lockstmt->mode > RowExclusiveLock) if (lockstmt->mode > RowExclusiveLock)
PreventCommandDuringRecovery("LOCK TABLE"); PreventCommandDuringRecovery("LOCK TABLE");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment