mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
pgindent run of recent SSI changes. Also, remove an unnecessary #include.
Kevin Grittner
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
#include "storage/indexfsm.h"
|
||||
#include "storage/ipc.h"
|
||||
#include "storage/lmgr.h"
|
||||
#include "storage/predicate.h"
|
||||
#include "storage/smgr.h"
|
||||
#include "tcop/tcopprot.h"
|
||||
#include "utils/memutils.h"
|
||||
|
@@ -849,8 +849,8 @@ _bt_first(IndexScanDesc scan, ScanDirection dir)
|
||||
if (!BufferIsValid(buf))
|
||||
{
|
||||
/*
|
||||
* We only get here if the index is completely empty.
|
||||
* Lock relation because nothing finer to lock exists.
|
||||
* We only get here if the index is completely empty. Lock relation
|
||||
* because nothing finer to lock exists.
|
||||
*/
|
||||
PredicateLockRelation(rel, scan->xs_snapshot);
|
||||
return false;
|
||||
|
@@ -26,7 +26,7 @@ const TwoPhaseCallback twophase_recover_callbacks[TWOPHASE_RM_MAX_ID + 1] =
|
||||
NULL, /* END ID */
|
||||
lock_twophase_recover, /* Lock */
|
||||
NULL, /* pgstat */
|
||||
multixact_twophase_recover, /* MultiXact */
|
||||
multixact_twophase_recover, /* MultiXact */
|
||||
predicatelock_twophase_recover /* PredicateLock */
|
||||
};
|
||||
|
||||
@@ -44,7 +44,7 @@ const TwoPhaseCallback twophase_postabort_callbacks[TWOPHASE_RM_MAX_ID + 1] =
|
||||
NULL, /* END ID */
|
||||
lock_twophase_postabort, /* Lock */
|
||||
pgstat_twophase_postabort, /* pgstat */
|
||||
multixact_twophase_postabort, /* MultiXact */
|
||||
multixact_twophase_postabort, /* MultiXact */
|
||||
NULL /* PredicateLock */
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user