Menu

#29 Use of addslashes() breaks with postgres 8.3

open
nobody
None
5
2008-06-26
2008-06-26
Alex French
No

addslashes() has been deprecated in favor of pg_escape_string() when using postgresql 8.3, since the quoting syntax has changed in 8.3. Current versions give rise to the following warnings in postres log:

WARNING: nonstandard use of \\ in a string literal at character 54

Discussion


Log in to post a comment.

MongoDB Logo MongoDB