>>>>> "Alex" == Alex Pilosov <[EMAIL PROTECTED]> writes:

Alex> Oy, just when I sent it, I realised what the problem is:
Alex> Please apply following patch to dbdimp.c

Alex> Edmund, please, apply this patch to DBD::Pg for next release.

Alex> 1169c1169
Alex> <                         dest+=snprintf(dest, strlen(imp_sth->statement)
Alex> + max_len + (statement - dest), "\\\\%03o", *val);
Alex> ---
>> dest+=snprintf(dest, strlen(imp_sth->statement)
Alex> + max_len + (statement - dest), "\\\\%03o", *((unsigned char *)val));

Nope.  Still fails on pack "C*", 128..255;  Works for pack "C*", 128
though.  Dies with

ERROR:  Unterminated quoted string

Something isn't being detected right.  It doesn't work
until it can handle pack "C*", 0..255, correct?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to