(PHP 4 >= 4.2.0)
pg_escape_string() escapes string for text/char datatype. It returns escaped string.
注意 This function is requires PostgreSQL 7.2 or later.
See also pg_escape_bytea()