Skip Menu |
 

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 35862
Status: resolved
Priority: 0/
Queue: DBD-Pg

People
Owner: Nobody in particular
Requestors: ASVBR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 2.2.2
  • 2.7.1
Fixed in: 2.7.2



Subject: Array: double-quoted text with comma
Download (untitled) / with headers
text/plain 108b
pg_expand_array is on, text element splitted after fetch: ['a','b,c'] --> '{a,"b,c"}' --> ['a','b,','c']
Download (untitled) / with headers
text/plain 738b
Thanks for the report, this has been fixed as of r11266, and will be a part of the just-released version 2.7.2. If you need a solution quick, this is the relevant patch: Index: dbdimp.c =================================================================== --- dbdimp.c (revision 11262) +++ dbdimp.c (working copy) @@ -2474,7 +2474,8 @@ if ('\\' == *input) { /* Eat backslashes */ input++; } - string[section_size++] = *input; + string[section_size++] = *input++; + continue; } else if ('{' == *input) { AV * const newav = newAV();


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.