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 DA5019DCB69 for ; Sun, 12 Mar 2006 04:40:13 -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 61492-04 for ; Sun, 12 Mar 2006 04:40:14 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.195]) by postgresql.org (Postfix) with ESMTP id D96619DCB5D for ; Sun, 12 Mar 2006 04:40:11 -0400 (AST) Received: by zproxy.gmail.com with SMTP id 14so1074368nzn for ; Sun, 12 Mar 2006 00:40:13 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:message-id:date:content-type:x-mailer:x-fid:content-transfer-encoding:x-priority:to:subject:reply-to:from; b=fluMDDgGzfCCyXLgCXJvjzKK48mqekf0X8co2kEnwFKl9K9sBE8VNESV8D4Jim63h6Cy1zzYYKXa3Rn89DArtKuOz+FNimKuYobHyH00CE0Y5lrcbYPJNUkwRgDZzFpqDPnwrxG+6+2jQ3qWEaPiRQtxQsxE9/mOu4GMlWrAEdw= Received: by 10.37.18.25 with SMTP id v25mr1974127nzi; Sun, 12 Mar 2006 00:40:13 -0800 (PST) Received: from WangBaobing ( [162.105.203.98]) by mx.gmail.com with ESMTP id r15sm3884299nza.2006.03.12.00.40.11; Sun, 12 Mar 2006 00:40:12 -0800 (PST) MIME-Version: 1.0 Message-Id: <4413DEC0.000001.01888@WANGBAOBING> Date: Sun, 12 Mar 2006 16:41:40 +0800 Content-Type: Text/Plain; charset="gb2312" X-Mailer: IncrediMail (5002206) X-FID: PLAINTXT-NONE-0000-0000-000000000000 Content-Transfer-Encoding: 7bit X-Priority: 3 To: Subject: About Buffer Flushing Function Reply-To: "=?gb2312?B?zfWxprH4?= " From: =?gb2312?B?zfWxprH4?= X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.409 required=5 tests=[AWL=0.409] X-Spam-Score: 0.409 X-Spam-Level: X-Archive-Number: 200603/36 X-Sequence-Number: 9626 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 disk Not including the log buffer. I'm now in urgent need of your help. Thank you in advance! Charlie Wang