Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2fc2795

Browse files
committed
Remove no-longer-used XLogCacheByte field of XLogCtl.
Itagaki Takahiro
1 parent3fcc7e8 commit2fc2795

File tree

1 file changed

+1
-4
lines changed
  • src/backend/access/transam

1 file changed

+1
-4
lines changed

‎src/backend/access/transam/xlog.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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-
SizeXLogCacheByte;/* # bytes in xlog buffers */
303302
intXLogCacheBlck;/* highest allocated xlog buffer index */
304303
TimeLineIDThisTimeLineID;
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);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp