Escape string in postresql

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
azah azah [ Di, 20 Juli 2004 10:11 ] [ ID #141903 ]

Re: Escape string in postresql

> 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
Christopher Kings-Lyn [ Di, 20 Juli 2004 10:34 ] [ ID #141904 ]
Datenbanken » gmane.comp.db.postgresql.php » Escape string in postresql

Vorheriges Thema: date_format in postresql
Nächstes Thema: wouldn't insert