On Dec 17, 2007 9:37 PM, <dterrors@xxxxxxxxxxx> wrote: > In php is there a postgresql version of mysql_real_escape_string() ? There is (mentioned upthread), but if you are writing C vs. libpq you may want to take a look a the parameterized interface. It's a little raw but parameterized queries do not have to escaped. see: PQexecParams merlin ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq