Re: protocol-level wait-for-LSN

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: protocol-level wait-for-LSN
Дата
Msg-id e76f3490-5b36-457e-bb80-2a4abdba70c9@eisentraut.org
обсуждение исходный текст
Ответ на Re: protocol-level wait-for-LSN  (Tatsuo Ishii <ishii@postgresql.org>)
Ответы Re: protocol-level wait-for-LSN
Список pgsql-hackers
On 29.10.24 06:06, Tatsuo Ishii wrote:
>> The patch adds a protocol extension called _pq_.wait_for_lsn as well
>> as a libpq connection option wait_for_lsn to activate the same.  (Use
>> e.g., psql -d 'wait_for_lsn=1'.)
>>
>> With this protocol extension, two things are changed:
>>
>> - The ReadyForQuery message sends back the current LSN.
> 
> If other protocol extension X tries to add something to the
> ReadyForQuery message too, what would happen?

I think one would have to define that somehow.  If it's useful, the 
additional fields of both extensions could be appended, in some defined 
order.  But this is an interesting question to think about.




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