Re: Extensibility of the PostgreSQL wire protocol

Поиск
Список
Период
Сортировка
От Jonah H. Harris
Тема Re: Extensibility of the PostgreSQL wire protocol
Дата
Msg-id CADUqk8W0QZuMxfYn+vpmGUHAeHh9PUdBnOQkbNiS=1jFipgiTw@mail.gmail.com
обсуждение исходный текст
Ответ на Extensibility of the PostgreSQL wire protocol  (Jan Wieck <jan@wi3ck.info>)
Ответы Re: Extensibility of the PostgreSQL wire protocol  (Jan Wieck <jan@wi3ck.info>)
Список pgsql-hackers
On Mon, Jan 25, 2021 at 10:07 AM Jan Wieck <jan@wi3ck.info> wrote:
The following is a request for discussion and comments, not a refined proposal accompanied by a working patch.

After implementing this three different ways inside the backend over the years, I landed on almost this identical approach for handling the MySQL, TDS, MongoDB, and Oracle protocols for NEXTGRES.

Initially, each was implemented as an background worker extension which had to handle its own networking, passing the fd off to new protocol-specific connections, etc. This worked, but duplicate a good amount of logic. It would be great to have a standard, loadable, way to add support for a new protocol.

--
Jonah H. Harris

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

Предыдущее
От: Bharath Rupireddy
Дата:
Сообщение: Re: [PATCH] postgres_fdw connection caching - cause remote sessions linger till the local session exit
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: Phrase search vs. multi-lexeme tokens