Re: [RFC] CREATE QUEUE (log-only table) for londiste/pgQ ccompatibility

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: [RFC] CREATE QUEUE (log-only table) for londiste/pgQ ccompatibility
Дата
Msg-id 50805279.5030503@2ndQuadrant.com
обсуждение исходный текст
Ответ на Re: [RFC] CREATE QUEUE (log-only table) for londiste/pgQ ccompatibility  (Claudio Freire <klaussfreire@gmail.com>)
Ответы Re: [RFC] CREATE QUEUE (log-only table) for londiste/pgQ ccompatibility
Список pgsql-hackers
On 10/18/2012 08:36 PM, Claudio Freire wrote:
> The CREATE QUEUE command, in fact, could be creating 
> such a channel. The channel itself won't be WAL-only, just
> the messages going through it. This (I think) would solve locking issues. 

Hmm. Maybe we should think of implementing this as REMOTE TABLE, that
is a table which gets no real data stored locally but all insert got 
through WAL
and are replayed as real inserts on slave side.

Then if you want matviews or partitioned table, you just attach triggers to the table on slave side to do them.

This would be tangential to their use as pure queues which would happen
at the level of plugins to logical replication.

--------------
Hannu




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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: [RFC] CREATE QUEUE (log-only table) for londiste/pgQ ccompatibility
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Truncate if exists