Re: Streaming Replication patch for CommitFest 2009-09

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Streaming Replication patch for CommitFest 2009-09
Дата
Msg-id 3f0b79eb0909301833l240031a3j96067c7b89d56ae1@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Streaming Replication patch for CommitFest 2009-09  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
Hi,

On Thu, Sep 24, 2009 at 5:20 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
>> Meanwhile, can you work on the above items and submit a
>> new version, please?
>
> Yeah, sure.

The attached is the patch to tackle the items, against 'replication-orig' branch
in your git repository.

Changes:
    * Change PQgetXLogData() to return a malloc'd buffer instead of a
pointer of the internal buffer.
    * Remove PQmarkConsumed().
    * Introduce a new macro XLogIsNeeded() which encapsulates
(XLogArchivingActive() || XLogStreamingAllowed()).
    * Replace read/write_conninfo with just a long-enough field in shared mem.
    * Remove 'replication' database, and support a new keyword
'replication' for pg_hba.conf.
    * Include system_identifier in the replication startup handshake.
    * Add error handling a la bgwriter and have a retry loop within walreceiver.
    * Prevent the startup process from getting stuck when launching
walreceiver fails.

Since we might need to change the patch further, I've not modified the
document yet.

Regards,

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

Вложения

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

Предыдущее
От: KaiGai Kohei
Дата:
Сообщение: Re: [PATCH] Reworks for Access Control facilities (r2311)
Следующее
От: Itagaki Takahiro
Дата:
Сообщение: Re: Triggers on columns