Re: Multiplexing SUGUSR1

Поиск
Список
Период
Сортировка
От Markus Wanner
Тема Re: Multiplexing SUGUSR1
Дата
Msg-id 4942A1F3.1040809@bluegap.ch
обсуждение исходный текст
Ответ на Re: Multiplexing SUGUSR1  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Hi,

Alvaro Herrera wrote:
> No, the signalling needed here is far simpler than Markus' IMessage
> stuff.

Yup, see also Tom's comment [1].

For Postgres-R I'm currently multiplexing by embedding a message type in
the imessage data itself. So this part is certainly overlapping, yes.

Some of the messages I'm using do have additional payload data, others
don't. Moving this message type out of the "body" part of the message
itself and instead use the upcoming signal multiplexing could save a few
imessage types in favor of using these multiplexed signals. Most message
types require some additional data to be transferred, though.

From my point of view it's hard to understand why one should want to
move out exactly 32 or 64 bits (sig_atomic_t) of a message. From the
point of view of Postgres, it's certainly better than being bound to the
existing Unix signals.

Regards

Markus Wanner

[1]:
http://archives.postgresql.org/message-id/28487.1221147665@sss.pgh.pa.us


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

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: [PATCHES] GIN improvements
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Updates of SE-PostgreSQL 8.4devel patches (r1268)