Re: Hot Standby conflict resolution handling

Поиск
Список
Период
Сортировка
От Abhijit Menon-Sen
Тема Re: Hot Standby conflict resolution handling
Дата
Msg-id 20130117035649.GA3253@toroid.org
обсуждение исходный текст
Ответ на Re: Hot Standby conflict resolution handling  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Hot Standby conflict resolution handling  (Pavan Deolasee <pavan.deolasee@gmail.com>)
Re: Hot Standby conflict resolution handling  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
At 2012-12-29 14:23:45 -0500, sfrost@snowman.net wrote:
>
> Regarding the actual comment, here's the wording that I'd use:

Sorry for nitpicking, but "we can't long jumps" made me cringe.
Here's a slightly more condensed version:

    /*
     * We can't use ereport(ERROR) here, because any longjmps
     * in DoingCommandRead state run the risk of violating our
     * protocol or the SSL protocol, by interrupting OpenSSL in
     * the middle of changing its internal state.
     *
     * Currently, the only option is to promote ERROR to FATAL
     * until we figure out a better way to handle errors in this
     * state.
     */

Patch along these lines attached, which also removes trailing
whitespace from the original patch.

-- Abhijit

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: CF3+4
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: CF3+4 (was Re: Parallel query execution)