comment for "fast promote" - Mailing list pgsql-hackers

From Tomonari Katsumata
Subject comment for "fast promote"
Date
Msg-id 51F0E2E2.5090204@po.ntts.co.jp
Whole thread Raw
Responses Re: comment for "fast promote"
List pgsql-hackers
Hi,

Now I'm seeing xlog.c in 93_stable for studying "fast promote",
and I have a question.

I think it has an extra unlink command for "promote" file.
(on 9937 line)
-------
9934 if (stat(FAST_PROMOTE_SIGNAL_FILE, &stat_buf) == 0)
9935 {
9936 unlink(FAST_PROMOTE_SIGNAL_FILE);
9937 unlink(PROMOTE_SIGNAL_FILE);
9938 fast_promote = true;
9939 }
-------

Is this command necesary ?

regards,
------------------
NTT Software Corporation
Tomonari Katsumata






pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal 9.4 plpgsql: allows access to call stack from GET DIAGNOSTICS statement
Next
From: Pavan Deolasee
Date:
Subject: Re: Expression indexes and dependecies