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

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: [RFC] CREATE QUEUE (log-only table) for londiste/pgQ ccompatibility
Дата
Msg-id CA+U5nMKXxQw2asK9T=OQfJiG=+M4Jp8WVfODcZE7suKwaWnncw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [RFC] CREATE QUEUE (log-only table) for londiste/pgQ ccompatibility  (Hannu Krosing <hannu@2ndQuadrant.com>)
Список pgsql-hackers
On 16 October 2012 10:29, Hannu Krosing <hannu@2ndquadrant.com> wrote:

> I would like this to be very similar to a table, so it would be
>
> CREATE MESSAGE QUEUE(fieldname type, ...) foo;
>
> perhaps even allowing defaults and constraints. again, this
> depends on how complecxt the implementation would be.

Presumably just CHECK constraints, not UNIQUE or FKs.
Indexes would not be allowed.

> for the receiving side it would look like a table with only inserts,
> and in this case there could even be a possibility to use it as
> a remote log table.

The queue data would be available via the API, so it can look like anything.

It would be good to identify this with a new rmgr id.

-- Simon Riggs                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

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