File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
src/backend/access/transam Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 77 * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
88 * Portions Copyright (c) 1994, Regents of the University of California
99 *
10- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.293 2008/02/17 02:09:27 tgl Exp $
10+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.294 2008/03/10 02:13:22 tgl Exp $
1111 *
1212 *-------------------------------------------------------------------------
1313 */
@@ -299,7 +299,6 @@ typedef struct XLogCtlData
299299 */
300300 char * pages ; /* buffers for unwritten XLOG pages */
301301 XLogRecPtr * xlblocks ; /* 1st byte ptr-s + XLOG_BLCKSZ */
302- Size XLogCacheByte ; /* # bytes in xlog buffers */
303302 int XLogCacheBlck ; /* highest allocated xlog buffer index */
304303 TimeLineID ThisTimeLineID ;
305304
@@ -4152,8 +4151,6 @@ XLOGShmemInit(void)
41524151 * Do basic initialization of XLogCtl shared data. (StartupXLOG will fill
41534152 * in additional info.)
41544153 */
4155- XLogCtl -> XLogCacheByte = (Size ) XLOG_BLCKSZ * XLOGbuffers ;
4156-
41574154 XLogCtl -> XLogCacheBlck = XLOGbuffers - 1 ;
41584155 XLogCtl -> Insert .currpage = (XLogPageHeader ) (XLogCtl -> pages );
41594156 SpinLockInit (& XLogCtl -> info_lck );
You can’t perform that action at this time.
0 commit comments