Re: Optimize LISTEN/NOTIFY

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Optimize LISTEN/NOTIFY
Дата
Msg-id 1319398.1760562915@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Optimize LISTEN/NOTIFY  ("Joel Jacobson" <joel@compiler.org>)
Список pgsql-hackers
"Joel Jacobson" <joel@compiler.org> writes:
> I assume the separate "advisory" queue position field
> would actually need to be two struct fields, since a queue position
> consists of a page and an offset, right?

No, I'd think you'd have both

    QueuePosition pos;            /* backend has read queue up to here */
    QueuePosition advisory_pos;   /* backend could skip queue to here */

in QueueBackendStatus.  The other seems way too confusing.

            regards, tom lane



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