Re: Using postgres.log file for replication

Поиск
Список
Период
Сортировка
От Csaba Nagy
Тема Re: Using postgres.log file for replication
Дата
Msg-id 1227806691.16671.63.camel@PCD12478
обсуждение исходный текст
Ответ на Using postgres.log file for replication  (Ioana Danes <ioanasoftware@yahoo.ca>)
Ответы Re: Using postgres.log file for replication  (Ioana Danes <ioanasoftware@yahoo.ca>)
Список pgsql-general
On Thu, 2008-11-27 at 09:20 -0800, Ioana Danes wrote:
> I've been wondering if anybody tried to use the postgresql csv log file to replicate sql statements.
> I've been looking into it in the past days and after a brief testing it doesn't look bad at all...

Try to execute something like:

UPDATE some_table SET some_timestamp_field = now();

The replica is now different than the master :-)

Cheers,
Csaba.



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

Предыдущее
От: Ioana Danes
Дата:
Сообщение: Using postgres.log file for replication
Следующее
От: Ioana Danes
Дата:
Сообщение: Re: Using postgres.log file for replication