Re: Is there PHP mysql_real_escape_string for postgresql?

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Is there PHP mysql_real_escape_string for postgresql?
Дата
Msg-id b42b73150712202128p54230b3k65bf0ec4c4d46652@mail.gmail.com
обсуждение исходный текст
Ответ на Is there PHP mysql_real_escape_string for postgresql?  (dterrors@hotmail.com)
Список pgsql-general
On Dec 17, 2007 9:37 PM,  <dterrors@hotmail.com> wrote:
> In php is there a postgresql version of mysql_real_escape_string() ?

There is (mentioned upthread), but if you are writing C vs. libpq you
may want to take a look a the parameterized interface.  It's a little
raw but parameterized queries do not have to escaped.

see: PQexecParams

merlin

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

Предыдущее
От: brian
Дата:
Сообщение: Re: Howto backup all functions?
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: Composite types for composite primary/foreign keys?