Re: Load distributed checkpoint - Mailing list pgsql-hackers

From Jim C. Nasby
Subject Re: Load distributed checkpoint
Date
Msg-id 20061213193407.GK6551@nasby.net
Whole thread Raw
In response to Re: Load distributed checkpoint  ("Takayuki Tsunakawa" <tsunakawa.takay@jp.fujitsu.com>)
List pgsql-hackers
On Wed, Dec 13, 2006 at 06:27:38PM +0900, Takayuki Tsunakawa wrote:
> No. BgBufferSync() correctly keeps track of the position to restart
> scanning at. bufid1 is not initialized to 0 every time BgBufferSync()
> is called, because bufid1 is a static local variable. Please see the
> following code. It prints:

Doh, I completely missed the static part of the declaration. Thanks for
the C tutorial. :)
-- 
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)


pgsql-hackers by date:

Previous
From: "Simon Riggs"
Date:
Subject: Re: recovery.conf parsing problems
Next
From: "Simon Riggs"
Date:
Subject: pg_standby and build farm