Re: Roadmap for FE/BE protocol redesign

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: Roadmap for FE/BE protocol redesign
Дата
Msg-id 1047325296.99075.35.camel@jester
обсуждение исходный текст
Ответ на Re: Roadmap for FE/BE protocol redesign  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Roadmap for FE/BE protocol redesign  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, 2003-03-10 at 14:30, Tom Lane wrote:
> Rod Taylor <rbt@rbt.ca> writes:
> > I'd be tempted to make a startup packet that will allow libpq to revert
> > back to old protocols easily enough for the future so that we can do=20
> > incremental changes to the protocol.
>
> We already have that: you send a startup packet with a version less than
> the latest, and the backend speaks that version to you.

Yes, but that requires you know the backend is less than the latest.

If you send version A, and the backend responds don't know A, but I know
A - 2, then libpq may want to try speaking A - 2.

> types without calling it a protocol revision.  The protocol need only
> specify "ignore any fields whose label you do not recognize".

This is probably just as good, if it's done for both sides.

--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

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

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: Re: [GENERAL] division by zero
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: Roadmap for FE/BE protocol redesign