pg_escape_string --
Escape string for text/char type
Description
string pg_escape_string ( string data)
pg_escape_string() escapes string for
text/char datatype. It returns escaped string for
PostgreSQL. Use of this functon is recommended instead of
addslashes().
Note:
This function requires PostgreSQL 7.2 or later.