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 17191.1243867316@sss.pgh.pa.us
Whole thread Raw
In response to pg_standby -l might destory the archived file  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: pg_standby -l might destory the archived file
Re: pg_standby -l might destory the archived file
List pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> writes:
> pg_standby can use ln command to restore an archived file,
> which might destroy the archived file as follows.

Does it matter?  pg_standby's source area wouldn't normally be an
"archive" in the real sense of the word, it's just a temporary staging
area between master and slave.  (If it were being used as a real
archive, keeping it on the same disk as the live slave seems pretty
foolish anyway, so the case wouldn't arise.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Win32 link() function
Next
From: Heikki Linnakangas
Date:
Subject: Re: pg_standby -l might destory the archived file