Re: walprotocol.h vs frontends

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: walprotocol.h vs frontends
Дата
Msg-id m24o1itkdk.fsf@2ndQuadrant.fr
обсуждение исходный текст
Ответ на Re: walprotocol.h vs frontends  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
>> Why not have a specific protocol message to indicate a change of filename?
>> I don't mean a WAL message, I mean a streaming protocol message.
>
> That we could have, and it would work as long as it's always sent as
> the first packet in any stream.
>
> If we do that, we should probably make it a general metadata package -
> including things like segment size as well...

I think this could be made an opt-in: the streaming client would have to
ask for it when connecting to the walsender (or maybe whenever in the
connection stream, I don't know).

Then it can even be backported, and it won't add anything to core
clients streaming data.

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Should we have an optional limit on the recursion depth of recursive CTEs?
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: index-only scans