Repair comment mangled by a pgindent run long ago

This commit is contained in:
Alvaro Herrera 2012-05-28 13:47:29 -04:00
parent eeb6f37d89
commit 68d0e3cbf9
1 changed files with 7 additions and 5 deletions

View File

@ -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");