Igor Shevchenko <igor(at)carcass(dot)ath(dot)cx> writes:> Here's a patch which makes PQescapeString stop escaping when \0 is seen.
I've applied this patch plus some further code and documentationcleanup.
regards, tom lane