Re: libpq changes for synchronous replication

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: libpq changes for synchronous replication
Дата
Msg-id AANLkTinKo-u=FrCC7pEw9nWUZAgtJESim6oLxDVf+DV0@mail.gmail.com
обсуждение исходный текст
Ответ на Re: libpq changes for synchronous replication  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
On Mon, Sep 20, 2010 at 11:55 PM, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:
> It doesn't feel right to always accept PQputCopyData in COPY OUT mode,
> though. IMHO there should be a new COPY IN+OUT mode.
>
> It should be pretty safe to add a CopyInOutResponse message to the protocol
> without a protocol version bump. Thoughts on that?

Or we check "replication" field in PGConn, and accept PQputCopyData in
COPY OUT mode only if it indicates TRUE? This is much simpler, but maybe
not versatile..

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Shutting down server from a backend process, e.g. walrceiver
Следующее
От: Robert Haas
Дата:
Сообщение: Re: .gitignore files, take two