X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id C47B99DCC68 for ; Sun, 12 Mar 2006 16:43:52 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 84989-08 for ; Sun, 12 Mar 2006 16:43:53 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from eastrmmtao02.cox.net (eastrmmtao02.cox.net [68.230.240.37]) by postgresql.org (Postfix) with ESMTP id 789D29DC8A8 for ; Sun, 12 Mar 2006 16:43:50 -0400 (AST) Received: from [192.168.0.8] (really [24.136.35.185]) by eastrmmtao02.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060312204349.YEVV14821.eastrmmtao02.cox.net@[192.168.0.8]>; Sun, 12 Mar 2006 15:43:49 -0500 From: Robert Treat To: pgsql-www@postgresql.org, "=?gb2312?q?=CD=F5=B1=A6=B1=F8?= " Subject: Re: About Buffer Flushing Function Date: Sun, 12 Mar 2006 15:43:21 -0500 User-Agent: KMail/1.8.3 References: <4413DEC0.000001.01888@WANGBAOBING> In-Reply-To: <4413DEC0.000001.01888@WANGBAOBING> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200603121543.21955.xzilla@users.sourceforge.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.116 required=5 tests=[AWL=0.116] X-Spam-Score: 0.116 X-Spam-Level: X-Archive-Number: 200603/44 X-Sequence-Number: 9634 On Sunday 12 March 2006 03:41, =CD=F5=B1=A6=B1=F8 wrote: > I'm now participating in a PG project.I need to modify some parts of the > Log buffer flushing function and the data buffer flushing function.I don't > Know where they are. > Could you tell me where the following two functions are: > --Log Buffer Flush:Only flush the dirty log buffer into the disk,not > Including the database data.(Is it XLogFlush in xlog.c?) > --Data Buffer Flush:Only flush the dirty database data(items) into the di= sk > Not including the log buffer. > I'm now in urgent need of your help. > Thank you in advance! > Charlie Wang If you're going to hack postgresql, you need to join pgsql-hackers mailing= =20 list and send these types of questions there. Also please review the=20 following: http://www.postgresql.org/docs/faqs.FAQ_DEV.html http://www.postgresql.org/developer/ =2D-=20 Robert Treat Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL