Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: ickphum [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 2.2.0
Fixed in: 2.8.0



Subject: Test script 04misc.t fails under MSWindows due to \r\n
Download (untitled) / with headers
text/plain 363b
The testing of the tracing features fails under Windows (Postgres 8.2.5, Strawberry Perl v5.10.0) because the result strings coming back from the database are \r\n terminated, as opposed to the strings in the test script which are \n terminated. Adding "$info =~ s/\r\n/\n/g;" after $info is set fixes the problem and probably does no harm in Unix environments.
Thanks for the report. A fix has been applied in r11340 and will be a part of version 2.8.0.


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.