npgsql and standard_conforming_strings - Mailing list pgsql-general

From William Garrison
Subject npgsql and standard_conforming_strings
Date
Msg-id 4640A24A.6040508@mobydisk.com
Whole thread Raw
List pgsql-general
I use npgsql 1.0 to access a PostgreSql 8.2.3 database.  Recently, I
decided to test with standard_conforming_strings = on and I noticed that
npgsql still sends double-backslashes, which corrupts the data.

This is especially bad with byte arrays: if I insert N bytes I get back
4*N bytes because \123 (one byte) becomes \\123 (4 bytes).

Is this a bug in npgsql, or is there some way I can get npgsql to
realize that postgres is using standard_conforming_strings?

Thanks,
Bill

pgsql-general by date:

Previous
From: Sic Transit Gloria Mundi
Date:
Subject: Building Pg 8.2.4 on AIX 5.3 doesn't produce shared libs?
Next
From: Tom Lane
Date:
Subject: Re: Building Pg 8.2.4 on AIX 5.3 doesn't produce shared libs?