Re: problem with serial

Поиск
Список
Период
Сортировка
От Chris Angelico
Тема Re: problem with serial
Дата
Msg-id CAPTjJmp_p2-55746-kmSSiAzuVmHFvxYqEKiXuuA6iv6ixL9vg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: problem with serial  (Raymond O'Donnell <rod@iol.ie>)
Список pgsql-general
On Fri, Apr 20, 2012 at 5:33 AM, Raymond O'Donnell <rod@iol.ie> wrote:
> Yep - no need to worry about quoting if you use parameters - it's all
> done for you. It's also MUCH safer, as it makes SQL injection attacks
> much harder (if not impossible).

And in some cases, it can even be more bandwidth-efficient. I don't
know if PDO can take advantage of this, but with the
PostgreSQL-specific functions (pg_query_params etc), an alternative
protocol method is used that sends the query and its parameters
separately, to great efficiency.

ChrisA

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

Предыдущее
От: Yvon Thoraval
Дата:
Сообщение: Re: problem with serial
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: pgpool2 master fail problem