Thread: Escape string in postresql

Escape string in postresql

From
azah azah
Date:
Hi,
I want convert from mysql to postresql, there are a lot command
mysql_escape_string, so what is the command code in postresql that has
the same function as mysql_escape_string function in mysql?

Re: Escape string in postresql

From
Christopher Kings-Lynne
Date:
> I want convert from mysql to postresql, there are a lot command
> mysql_escape_string, so what is the command code in postresql that has
> the same function as mysql_escape_string function in mysql?

I've you spent 3 seconds reading the manual, you'd know it was
pg_escape_string.

Chris