mirror of
https://github.com/postgres/postgres.git
synced 2025-10-24 01:29:19 +03:00
pgindent run for 9.6
This commit is contained in:
@@ -722,7 +722,7 @@ extern int32 _bt_compare(Relation rel, int keysz, ScanKey scankey,
|
||||
extern bool _bt_first(IndexScanDesc scan, ScanDirection dir);
|
||||
extern bool _bt_next(IndexScanDesc scan, ScanDirection dir);
|
||||
extern Buffer _bt_get_endpoint(Relation rel, uint32 level, bool rightmost,
|
||||
Snapshot snapshot);
|
||||
Snapshot snapshot);
|
||||
|
||||
/*
|
||||
* prototypes for functions in nbtutils.c
|
||||
|
||||
@@ -26,8 +26,7 @@ typedef struct
|
||||
{
|
||||
TimeLineID tli;
|
||||
XLogRecPtr begin; /* inclusive */
|
||||
XLogRecPtr end; /* exclusive, InvalidXLogRecPtr means
|
||||
* infinity */
|
||||
XLogRecPtr end; /* exclusive, InvalidXLogRecPtr means infinity */
|
||||
} TimeLineHistoryEntry;
|
||||
|
||||
extern List *readTimeLineHistory(TimeLineID targetTLI);
|
||||
|
||||
@@ -25,7 +25,8 @@
|
||||
/* Flags for bit map */
|
||||
#define VISIBILITYMAP_ALL_VISIBLE 0x01
|
||||
#define VISIBILITYMAP_ALL_FROZEN 0x02
|
||||
#define VISIBILITYMAP_VALID_BITS 0x03 /* OR of all valid visiblitymap flags bits */
|
||||
#define VISIBILITYMAP_VALID_BITS 0x03 /* OR of all valid
|
||||
* visiblitymap flags bits */
|
||||
|
||||
/* Macros for visibilitymap test */
|
||||
#define VM_ALL_VISIBLE(r, b, v) \
|
||||
@@ -39,8 +40,8 @@ extern void visibilitymap_pin(Relation rel, BlockNumber heapBlk,
|
||||
Buffer *vmbuf);
|
||||
extern bool visibilitymap_pin_ok(BlockNumber heapBlk, Buffer vmbuf);
|
||||
extern void visibilitymap_set(Relation rel, BlockNumber heapBlk, Buffer heapBuf,
|
||||
XLogRecPtr recptr, Buffer vmBuf, TransactionId cutoff_xid,
|
||||
uint8 flags);
|
||||
XLogRecPtr recptr, Buffer vmBuf, TransactionId cutoff_xid,
|
||||
uint8 flags);
|
||||
extern uint8 visibilitymap_get_status(Relation rel, BlockNumber heapBlk, Buffer *vmbuf);
|
||||
extern void visibilitymap_count(Relation rel, BlockNumber *all_visible, BlockNumber *all_frozen);
|
||||
extern void visibilitymap_truncate(Relation rel, BlockNumber nheapblocks);
|
||||
|
||||
@@ -277,8 +277,8 @@ extern void assign_checkpoint_completion_target(double newval, void *extra);
|
||||
* Starting/stopping a base backup
|
||||
*/
|
||||
extern XLogRecPtr do_pg_start_backup(const char *backupidstr, bool fast,
|
||||
TimeLineID *starttli_p, StringInfo labelfile, DIR *tblspcdir,
|
||||
List **tablespaces, StringInfo tblspcmapfile, bool infotbssize,
|
||||
TimeLineID *starttli_p, StringInfo labelfile, DIR *tblspcdir,
|
||||
List **tablespaces, StringInfo tblspcmapfile, bool infotbssize,
|
||||
bool needtblspcmapfile);
|
||||
extern XLogRecPtr do_pg_stop_backup(char *labelfile, bool waitforarchive,
|
||||
TimeLineID *stoptli_p);
|
||||
|
||||
@@ -138,7 +138,7 @@ typedef XLogLongPageHeaderData *XLogLongPageHeader;
|
||||
#define MAXFNAMELEN 64
|
||||
|
||||
/* Length of XLog file name */
|
||||
#define XLOG_FNAME_LEN 24
|
||||
#define XLOG_FNAME_LEN 24
|
||||
|
||||
#define XLogFileName(fname, tli, logSegNo) \
|
||||
snprintf(fname, MAXFNAMELEN, "%08X%08X%08X", tli, \
|
||||
|
||||
Reference in New Issue
Block a user