Re: [GENERAL] escaping and quoting

2008-05-21 Thread Albe Laurenz
Maarten Deprez wrote: [wants to get rid of backslash escape warnings] > > Does the program work correctly despite the warnings? > > At least it seems so. I'm using it as email server without problems. > > > > What API are you using (there is no EscapeBytea function in the C API)? > > It's the P

Re: [GENERAL] escaping and quoting

2008-05-21 Thread Maarten Deprez
Albe Laurenz wrote: > Does the program work correctly despite the warnings? At least it seems so. I'm using it as email server without problems. > What API are you using (there is no EscapeBytea function in the C API)? It's the PQescapeBytea function from libpq. Note that i didn't write the pro

Re: [GENERAL] escaping and quoting

2008-05-20 Thread Albe Laurenz
Maarten Deprez wrote: >>> My dbmail server using postgresql produces a lot of warnings about '\\' >>> in strings. The particular string it is complaining about is escaped by >>> EscapeBytea, and included in single quotes (not E''). Is it all right to >>> set standard_compliant_strings to on? >> >>

Re: [GENERAL] escaping and quoting

2008-05-20 Thread Maarten Deprez
I wrote: > My dbmail server using postgresql produces a lot of warnings about '\\' > in strings. The particular string it is complaining about is escaped by > EscapeBytea, and included in single quotes (not E''). Is it all right to > set standard_compliant_strings to on? Laurenz Albe wrote: > Dep

Re: [GENERAL] escaping and quoting

2008-05-20 Thread Albe Laurenz
Maarten Deprez wrote: > My dbmail server using postgresql produces a lot of warnings about '\\' > in strings. The particular string it is complaining about is escaped by > EscapeBytea, and included in single quotes (not E''). Is it all right to > set standard_compliant_strings to on? Depends. You

[GENERAL] escaping and quoting

2008-05-20 Thread Maarten Deprez
Hello. My dbmail server using postgresql produces a lot of warnings about '\\' in strings. The particular string it is complaining about is escaped by EscapeBytea, and included in single quotes (not E''). Is it all right to set standard_compliant_strings to on? Greetings, Maarten

[GENERAL] escaping and quoting

2008-05-16 Thread Maarten Deprez
Hello. My dbmail server using postgresql produces a lot of warnings about '\\' in strings. The particular string it is complaining about is escaped by EscapeBytea, and included in single quotes (not E''). Is it all right to set standard_compliant_strings to on? Greetings, Maarten Deprez -- Se