Repair comment mangled by a pgindent run long ago
This commit is contained in:
parent
eeb6f37d89
commit
68d0e3cbf9
|
@ -38,11 +38,13 @@ LockTableCommand(LockStmt *lockstmt)
|
|||
{
|
||||
ListCell *p;
|
||||
|
||||
/*
|
||||
* During recovery we only accept these variations: LOCK TABLE foo IN
|
||||
* ACCESS SHARE MODE LOCK TABLE foo IN ROW SHARE MODE LOCK TABLE foo IN
|
||||
* ROW EXCLUSIVE MODE This test must match the restrictions defined in
|
||||
* LockAcquire()
|
||||
/*---------
|
||||
* During recovery we only accept these variations:
|
||||
* LOCK TABLE foo IN ACCESS SHARE MODE
|
||||
* LOCK TABLE foo IN ROW SHARE MODE
|
||||
* LOCK TABLE foo IN ROW EXCLUSIVE MODE
|
||||
* This test must match the restrictions defined in LockAcquireExtended()
|
||||
*---------
|
||||
*/
|
||||
if (lockstmt->mode > RowExclusiveLock)
|
||||
PreventCommandDuringRecovery("LOCK TABLE");
|
||||
|
|
Loading…
Reference in a new issue