Escape string in postresql

Escape string in postresql

am 20.07.2004 10:11:48 von azah azah

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?

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Re: Escape string in postresql

am 20.07.2004 10:34:47 von Christopher Kings-Lynne

> 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


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster