Sebastian von Ulmenstein
2006-12-10 22:11:07 UTC
Hi,
it seems, that Postgres version 8.2.0 changed its mood in handling escaped
string data from pgsql4rb.
If my investigation is correct, the problem are quotes in strings (in my
case a column of type TEXT). 8.2.0 gives me a dialog:
Server WARNING: nonstandard use of \' in a string literal
Server Notice Code: 22P06
and the logfile shows:
WARNING: nonstandard use of \' in a string literal at character 34
HINT: Use '' to write quotes in strings, or use the escape string syntax
(E'...').
Marc, if I'm right, could you please update the pgSQLescapeLiteralString
method?
Thanks and regards
Sebastian
it seems, that Postgres version 8.2.0 changed its mood in handling escaped
string data from pgsql4rb.
If my investigation is correct, the problem are quotes in strings (in my
case a column of type TEXT). 8.2.0 gives me a dialog:
Server WARNING: nonstandard use of \' in a string literal
Server Notice Code: 22P06
and the logfile shows:
WARNING: nonstandard use of \' in a string literal at character 34
HINT: Use '' to write quotes in strings, or use the escape string syntax
(E'...').
Marc, if I'm right, could you please update the pgSQLescapeLiteralString
method?
Thanks and regards
Sebastian