Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: william [...] knowmad.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.31
Fixed in: 1.32



Subject: Re: Bad call to pg_server_version
Thanks to the patch posted by ADAMK, I was able to get around an annoying bug in DBD::Pg. However, although things are working, I am getting a warning message about Argument '7.3.3' not being numeric in lt at line 913.
This has been fixed in CVS. Watch for 1.30 very soon!
From: william [...] knowmad.com
[DWHEELER - Fri Aug 1 19:01:19 2003]: Show quoted text
> This has been fixed in CVS. Watch for 1.30 very soon!
Just a reminder that we're still waiting for v1.30. I have to copy an updated version onto every server I install. Can you give a status report? Thanks, William
Date: Mon, 8 Sep 2003 17:08:34 -0700
Subject: Re: =[cpan #3121] Re: Bad call to pg_server_version
CC: dbdpg-general [...] svr3.postgresql.org
To: bug-DBD-Pg [...] rt.cpan.org
From: David Wheeler <david [...] kineticode.com>
RT-Send-Cc:
On Sunday, September 7, 2003, at 09:31 PM, David Wheeler wrote: Show quoted text
>> Just a reminder that we're still waiting for v1.30. I have to copy an >> updated version onto every server I install. Can you give a status >> report?
I think that 1.31_5 will be entering CPAN as a beta in the next day or two. Please test it with your applications and let us know if you encounter any problems! Regards, David -- David Wheeler AIM: dwTheory david@kineticode.com ICQ: 15726394 http://www.kineticode.com/ Yahoo!: dew7e Jabber: Theory@jabber.org Kineticode. Setting knowledge in motion.[sm]
From: russ [...] hawaii.edu
[david@kineticode.com - Mon Sep 8 20:09:04 2003]: Show quoted text
> I think that 1.31_5 will be entering CPAN as a beta in the next day or > two. Please test it with your applications and let us know if you > encounter any problems!
Hi, Just a note. In 1.22, the warnings about numeric comparisons are due to comparing a version string that has three parts (separated by dots) with a string with two parts. When I ran "make test" with Perl 5.8.1 under Cygwin 1.5.5, there were many warnings during the t/15funct test. I was able to elimate the waring messages by changing "< 7.3" to "lt '7.3'" througout blib/lib/DBD/Pg.pm. Version 1.31_5 doesn't exhibit the warnings with Perl 5.8.1 under Cygwin 1.5.5. However, the test program dies: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $ make test /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'b lib/arch')" t/*.t t/00basic...........ok t/01connect.........ok t/01constants.......ok t/01setup...........ok t/02prepare.........ok t/03bind............ok t/04execute.........ok t/04rows............ok t/05fetch...........ok t/06disconnect......ok t/07reuse...........ok t/08txn.............ok t/09autocommit......ok t/10chopblanks......ok t/11quoting.........dubious Test returned status 0 (wstat 139, 0x8b) test program seems to have generated a core DIED. FAILED tests 3-9 Failed 7/9 tests, 22.22% okay t/12placeholders....ok t/13pgtype..........ok t/15column_info.....ok t/15funct...........dubious Test returned status 0 (wstat 139, 0x8b) test program seems to have generated a core DIED. FAILED tests 11-73 Failed 63/73 tests, 13.70% okay t/15table_attrs.....ok t/15table_info......ok t/16pgbooltf........ok t/17arrays..........ok t/99_pod............skipped all skipped: Test::Pod required for testing POD t/99cleanup.........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/11quoting.t 0 139 9 14 155.56% 3-9 t/15funct.t 0 139 73 126 172.60% 11-73 1 test skipped. Failed 2/25 test scripts, 92.00% okay. 70/273 subtests failed, 74.36% okay. make: *** [test_dynamic] Error 14 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - My Perl says: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $ perl -V Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration: Platform: osname=cygwin, osvers=1.5.5(0.9432), archname=cygwin-thread-multi-64int uname='cygwin_nt-4.0 iokaste 1.5.5(0.9432) 2003-09-20 16:31 i686 unknown unk nown cygwin ' config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads -Doptimize=-O2 -Dma n3ext=3pm' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=de fine useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=y, bincompat5005=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local /include', optimize='-O2', cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='3.3.1 (cygming special)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lsee ksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='ld2', ldflags =' -s -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -ldb -lcrypt -lgdbm_compat perllibs=-lcrypt -lgdbm_compat libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s' cccdlflags=' ', lddlflags=' -s -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under cygwin Compiled at Oct 8 2003 20:50:30 %ENV: CYGWIN="" @INC: /usr/lib/perl5/5.8.1/cygwin-thread-multi-64int /usr/lib/perl5/5.8.1 /usr/lib/perl5/site_perl/5.8.1/cygwin-thread-multi-64int /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Russ
Date: Thu, 23 Oct 2003 09:00:49 -0700
Subject: Re: [cpan #3121] Re: Bad call to pg_server_version
From: David Wheeler <david [...] kineticode.com>
To: bug-DBD-Pg [...] rt.cpan.org
RT-Send-Cc:
On Wednesday, October 22, 2003, at 01:30 PM, Guest via RT wrote: Show quoted text
> t/09autocommit......ok > t/10chopblanks......ok > t/11quoting.........dubious > Test returned status 0 (wstat 139, 0x8b) > test program seems to have generated a core > DIED. FAILED tests 3-9 > Failed 7/9 tests, 22.22% okay > t/12placeholders....ok
Reply from Jeremy Yoder (forwarded from a post to dbdpg-genereal @svr3.postgresql.org): Actually this looks exactly like the malloc problem my patch was supposed to fix. I believe that 1.3.1_5 was the first version to include my patch. On the other hand, without seeing a stack trace it's hard to say for sure that this is another malloc problem. All I can say is these are the same 2 tests that failed for me before the patch. Jeremy
From: markstos [...] cpan.org
This bug should be closed now-- pg_server_version is fixed in the 1.31 release. This ticket also mentions 2 other bugs-- version strings and a malloc issue. I think those may be fixed as well.
This issue was resolved in the 1.31 release.