Re: pg_standby -l might destory the archived file - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_standby -l might destory the archived file
Date
Msg-id 256.1243905703@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_standby -l might destory the archived file  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: pg_standby -l might destory the archived file  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> writes:
> Yes, the old xlog itself is not used again. But, the *old file* might
> be recycled and used later. The case that I'm looking at is that the
> symlink to a temporary area is recycled. Am I missing something?

Actually, I think the right fix for that would be to add defenses to
xlog.c to not try to "recycle" a file that is a symlink.  No good could
possibly come of that.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: dblink patches for comment
Next
From: "Kevin Grittner"
Date:
Subject: Re: dot to be considered as a word delimiter?