Re: Protection from SQL injection
От
Alvaro Herrera
Тема
Re: Protection from SQL injection
Дата
Msg-id
20080502145358.GC2320@alvh.no-ip.org
Ответ на
Re: Protection from SQL injection (Darren Reed)
Список
Дерево обсуждения
Re: Protection from SQL injection Chris Browne <cbbrowne@acm.org>
Re: Protection from SQL injection Andrew Dunstan <andrew@dunslane.net>
Darren Reed wrote:
> Because interacting with the database is always through an action
> that you do and if you're being half way intelligent about it, you
> are always checking that each action succeeded before going on to
> the next.
Hmm, it won't be pretty for the drivers that do PQexec("COMMIT; BEGIN").
The driver will think that it's in a transaction when in fact the second
command in the string has been ignored, and so it's not ...
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-hackers по дате отправления