Re: [HACKERS] More thoughts about FE/BE protocol

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: [HACKERS] More thoughts about FE/BE protocol
Дата
Msg-id 1049993718.1886.27.camel@fuji.krosing.net
обсуждение исходный текст
Ответ на Re: [HACKERS] More thoughts about FE/BE protocol  (Hannu Krosing <hannu@tm.ee>)
Список pgsql-interfaces
Hannu Krosing kirjutas N, 10.04.2003 kell 19:50:

> I would propose something like X11 protocol (from memory)
> 
> each request (query) has a serial number.
> 
> eash response is sent in resonable sized chunks, and each chunk has a
> serial number of request, chunk number of response and an indicator for
> EndOfResponse (or perhaps to for Completed or Aborted).

They should both have size as well, as Tom suggested.

> This would make resyncing easier as you can safely ignore responsed you
> dont wan't to see anymore even if for some reasons some of them are
> still in pipeline.
> 
> What could be useful (and is often requested) is sending the number of
> records in response *if it is known without extra work*.
> 
> Also there should be a way to tell the backend not to send some types of
> notices/warnings.

-----------------
Hannu



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

Предыдущее
От: Tim Ellis
Дата:
Сообщение: Re: [ADMIN] PLEASE HELP ME URGENT about choosing only the ones
Следующее
От: Barry Lind
Дата:
Сообщение: Re: [HACKERS] More thoughts about FE/BE protocol