mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
Pgindent run for 8.0.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/access/slru.h,v 1.9 2004/08/29 04:13:03 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/include/access/slru.h,v 1.10 2004/08/29 05:06:55 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
/*
|
||||
* Number of page buffers. Ideally this could be different for CLOG and
|
||||
* Number of page buffers. Ideally this could be different for CLOG and
|
||||
* SUBTRANS, but the benefit doesn't seem to be worth any additional
|
||||
* notational cruft.
|
||||
*/
|
||||
@@ -71,15 +71,15 @@ typedef struct SlruCtlData
|
||||
SlruShared shared;
|
||||
|
||||
/*
|
||||
* This flag tells whether to fsync writes (true for pg_clog,
|
||||
* false for pg_subtrans).
|
||||
* This flag tells whether to fsync writes (true for pg_clog, false
|
||||
* for pg_subtrans).
|
||||
*/
|
||||
bool do_fsync;
|
||||
|
||||
/*
|
||||
* Decide which of two page numbers is "older" for truncation purposes.
|
||||
* We need to use comparison of TransactionIds here in order to do the
|
||||
* right thing with wraparound XID arithmetic.
|
||||
* Decide which of two page numbers is "older" for truncation
|
||||
* purposes. We need to use comparison of TransactionIds here in order
|
||||
* to do the right thing with wraparound XID arithmetic.
|
||||
*/
|
||||
bool (*PagePrecedes) (int, int);
|
||||
|
||||
@@ -98,7 +98,7 @@ typedef struct SlruFlushData *SlruFlush;
|
||||
|
||||
extern int SimpleLruShmemSize(void);
|
||||
extern void SimpleLruInit(SlruCtl ctl, const char *name,
|
||||
LWLockId ctllock, const char *subdir);
|
||||
LWLockId ctllock, const char *subdir);
|
||||
extern int SimpleLruZeroPage(SlruCtl ctl, int pageno);
|
||||
extern int SimpleLruReadPage(SlruCtl ctl, int pageno, TransactionId xid);
|
||||
extern void SimpleLruWritePage(SlruCtl ctl, int slotno, SlruFlush fdata);
|
||||
|
||||
Reference in New Issue
Block a user