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;
|
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");
|
||||||
|
|
Loading…
Reference in New Issue