Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: htaylor [...] agristats.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 2.6.2
Fixed in: 2.6.3



Subject: pg_getcopydata test in 07copy.t invalid for pgsql versions prior to 8.2
DBD::Pg-2.6.2 Perl v5.8.8 Postgresql v8.1.9 O.S. GNU/Linux Fedora 7 The following test in the 07copy.t test file (begins on line 305) fails on systems with a Postgresql version earlier than 8.2, because the 'COPY (query) TO' syntax isn't valid in pgsql prior to 8.2. $t=q{pg_getcopydata works when pulling from an empty table into an empty var}; $dbh->do('COPY (SELECT 1 FROM pg_class LIMIT 0) TO STDOUT'); eval { my $newvar; $dbh->pg_getcopydata($newvar); }; is($@, q{}, $t); I'm sorry I don't have a fix, but I just don't understand what the test is doing well enough to figure out a work around.
Thanks, fixed in r11171
Subject: RE: [rt.cpan.org #35570] Resolved: pg_getcopydata test in 07copy.t invalid for pgsql versions prior to 8.2
Date: Fri, 2 May 2008 10:07:05 -0400
To: <bug-DBD-Pg [...] rt.cpan.org>
From: "Henry Taylor" <htaylor [...] agristats.com>
I downloaded the 2.6.3 version earlier this morning and the make test still failed on the same test. Henry Taylor Agri Stats 260-407-2715 htaylor@agristats.com Show quoted text
-----Original Message----- From: Greg Sabino Mullane via RT [mailto:bug-DBD-Pg@rt.cpan.org] Sent: Friday, May 02, 2008 9:56 AM To: Henry Taylor Subject: [rt.cpan.org #35570] Resolved: pg_getcopydata test in 07copy.t invalid for pgsql versions prior to 8.2 <URL: http://rt.cpan.org/Ticket/Display.html?id=35570 > According to our records, your request has been resolved. If you have any further questions or concerns, please respond to this message.
Subject: RE: [rt.cpan.org #35570] Resolved: pg_getcopydata test in 07copy.t invalid for pgsql versions prior to 8.2
Date: Mon, 5 May 2008 12:28:48 -0000
To: bug-DBD-Pg [...] rt.cpan.org
From: "Greg Sabino Mullane" <greg [...] turnstep.com>
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Show quoted text
> I downloaded the 2.6.3 version earlier this morning and the make test > still failed on the same test.
Probably just an oversight on our part. Can you send the output of make test? - -- Greg Sabino Mullane greg@turnstep.com End Point Corporation PGP Key: 0x14964AC8 200805050827 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iEYEAREDAAYFAkge/UMACgkQvJuQZxSWSsiLlgCg5tBEZ0h9eKLzw1Yok2wdrI1S 9CkAn0KOVAK6486WDkiX42DRmRaf5n0c =tqdE -----END PGP SIGNATURE-----
Subject: RE: [rt.cpan.org #35570] Resolved: pg_getcopydata test in 07copy.t invalid for pgsql versions prior to 8.2
Date: Mon, 5 May 2008 14:23:13 -0400
To: <bug-DBD-Pg [...] rt.cpan.org>
From: "Henry Taylor" <htaylor [...] agristats.com>
The 2.6.4 release appears to have resolved the problem. Henry Taylor Agri Stats 260-407-2715 htaylor@agristats.com Show quoted text
-----Original Message----- From: Greg Sabino Mullane via RT [mailto:bug-DBD-Pg@rt.cpan.org] Sent: Monday, May 05, 2008 8:29 AM To: Henry Taylor Subject: RE: [rt.cpan.org #35570] Resolved: pg_getcopydata test in 07copy.t invalid for pgsql versions prior to 8.2 <URL: http://rt.cpan.org/Ticket/Display.html?id=35570 > -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160
> I downloaded the 2.6.3 version earlier this morning and the make test > still failed on the same test.
Probably just an oversight on our part. Can you send the output of make test? - -- Greg Sabino Mullane greg@turnstep.com End Point Corporation PGP Key: 0x14964AC8 200805050827 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iEYEAREDAAYFAkge/UMACgkQvJuQZxSWSsiLlgCg5tBEZ0h9eKLzw1Yok2wdrI1S 9CkAn0KOVAK6486WDkiX42DRmRaf5n0c =tqdE -----END PGP SIGNATURE-----