Re: Is there PHP mysql_real_escape_string for postgresql?

Поиск
Список
Период
Сортировка
От Bill Moran
Тема Re: Is there PHP mysql_real_escape_string for postgresql?
Дата
Msg-id 20071220104611.3ff607ca.wmoran@potentialtech.com
обсуждение исходный текст
Ответ на Re: Is there PHP mysql_real_escape_string for postgresql?  (Erik Jones <erik@myemma.com>)
Ответы Re: Is there PHP mysql_real_escape_string for postgresql?  (Erik Jones <erik@myemma.com>)
Re: Is there PHP mysql_real_escape_string for postgresql?  (Richard Huxton <dev@archonet.com>)
Re: Is there PHP mysql_real_escape_string for postgresql?  (Kevin Hunter <hunteke@earlham.edu>)
Список pgsql-general
In response to Erik Jones <erik@myemma.com>:

>
> On Dec 17, 2007, at 8:37 PM, dterrors@hotmail.com wrote:
>
> > In php is there a postgresql version of mysql_real_escape_string() ?
>
> You have both pg_escape_string and pg_escape_bytea available.

Is there a mysql_fake_escape_string()?  Should PostgreSQL have a
pg_pretend_to_escape_string() that effectively does nothing?

--
Bill Moran
http://www.potentialtech.com

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Postgres from PHP in Leopard
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: foreign key constraint, planner ignore index.