Re: Stuff for 2.4.1

Поиск
Список
Период
Сортировка
От Harald Armin Massa
Тема Re: Stuff for 2.4.1
Дата
Msg-id AANLkTinnQjYq=nWZH-r9bYRKaAhJ1SjXVQ06KdczmOQ6@mail.gmail.com
обсуждение исходный текст
Ответ на Stuff for 2.4.1  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Ответы Re: Stuff for 2.4.1
Список psycopg
Daniele,

> own parser for the bytea hex format, so that clients are no more >dependant on libpq 9 to talk with a 9 server.
>By the way the best way to make  this patch
>was to have our own parser for the "escape" format as well:
> this has generally improved performance in receiving bytea

compliments for doing performance improvements!

Are you really sure that psycopg2 should go the road of having own
parsers in addition to libpq-s routines? As much as I am happy about
the robustness when having other libpqs, and about the performance
benefit, as much I fear to have some new areas for possible bugs -
especially security-relevant things like SQL-injections.

Harald

--
Harald Armin Massa     www.2ndQuadrant.com
PostgreSQL  Training, Services  and Support

2ndQuadrant Deutschland GmbH
GF: Harald Armin Massa
Amtsgericht Stuttgart, HRB 736399

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

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Stuff for 2.4.1
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: Stuff for 2.4.1