mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
Phase 2 pgindent run for v12.
Switch to 2.1 version of pg_bsd_indent. This formats multiline function declarations "correctly", that is with additional lines of parameter declarations indented to match where the first line's left parenthesis is. Discussion: https://postgr.es/m/CAEepm=0P3FeTXRcU5B2W3jv3PgRVZ-kGUXLGfd42FFhUROO3ug@mail.gmail.com
This commit is contained in:
@@ -52,8 +52,8 @@ extern bool PageIsPredicateLocked(Relation relation, BlockNumber blkno);
|
||||
/* predicate lock maintenance */
|
||||
extern Snapshot GetSerializableTransactionSnapshot(Snapshot snapshot);
|
||||
extern void SetSerializableTransactionSnapshot(Snapshot snapshot,
|
||||
VirtualTransactionId *sourcevxid,
|
||||
int sourcepid);
|
||||
VirtualTransactionId *sourcevxid,
|
||||
int sourcepid);
|
||||
extern void RegisterPredicateLockingXid(TransactionId xid);
|
||||
extern void PredicateLockRelation(Relation relation, Snapshot snapshot);
|
||||
extern void PredicateLockPage(Relation relation, BlockNumber blkno, Snapshot snapshot);
|
||||
@@ -65,7 +65,7 @@ extern void ReleasePredicateLocks(bool isCommit, bool isReadOnlySafe);
|
||||
|
||||
/* conflict detection (may also trigger rollback) */
|
||||
extern void CheckForSerializableConflictOut(bool valid, Relation relation, HeapTuple tuple,
|
||||
Buffer buffer, Snapshot snapshot);
|
||||
Buffer buffer, Snapshot snapshot);
|
||||
extern void CheckForSerializableConflictIn(Relation relation, HeapTuple tuple, Buffer buffer);
|
||||
extern void CheckTableForSerializableConflictIn(Relation relation);
|
||||
|
||||
@@ -77,7 +77,7 @@ extern void AtPrepare_PredicateLocks(void);
|
||||
extern void PostPrepare_PredicateLocks(TransactionId xid);
|
||||
extern void PredicateLockTwoPhaseFinish(TransactionId xid, bool isCommit);
|
||||
extern void predicatelock_twophase_recover(TransactionId xid, uint16 info,
|
||||
void *recdata, uint32 len);
|
||||
void *recdata, uint32 len);
|
||||
|
||||
/* parallel query support */
|
||||
extern SerializableXactHandle ShareSerializableXact(void);
|
||||
|
||||
Reference in New Issue
Block a user