On Mon, 18 May 2009 14:08 +0000, "Greg Sabino Mullane"
<[email protected]> wrote:
> 
> > The directions in the README got me a DBD::Pg that could not connect to
> > a database at all... (the tests should not pass if it does that!)
> 
> Yes, those directions are outdated and need to be updated. So feel free
> to submit a patch! We have very few people on the list running Windows,
> thus it doesn't get as much attention as the *nix side of things.

Well, now I'm one. Not that I can help too horribly much on the
programming end (not enough tuits for non-obvious stuff), but at lease I
can tell you details on what's going wrong.

And I'll send that patch soon - what I did at least is automatable,
unlike the "README" directions.

> > More information on what tests fail and the system settings are in the
> > attached file.
> 
> The good news is that none of the failing tests look to be of extreme
> importance.
> 
> > C:/strawberry/perl/lib/CORE/win32.h:238:1: warning: "isnan" redefined
> 
> This should probably be cleaned up at some point. It's unclear if we can
> do it
> at the DBD::Pg level however.
> 
> > t/02attribs.t ....... 1/249 DBD::Pg::db do failed: ERROR:  character 0xc480
> > of encoding "UTF8" has no equivalent in "WIN1252" at t/02attribs.t line 431.
> 
> I just made a commit (12766) which should fix both instances of this
> problem,
> by simply skipping the test unless the server encoding is UTF8.

Okay... will grab from repository and test again.

> > #   Failed test 'Trace flag 'pglogin' works as expected with
> > DBD::Pg->parse_trace_flag() at t/04misc.t line 225.
> > #     got: 'Login connection string:
> > # Connection complete
> > #     DESTROY for DBI::db=HASH(0x11774a4) ignored - handle not initialised
> 
> Not sure what is going on here: some interaction of Windows + DBI is
> causing what I assume is a mostly harmless warning: assumed because
> all of the other test pass. :)
> 
> > Error removing dbdpg_test_5GWCPRtst at C:/STRAWB~1/perl/lib/File/Temp.pm 
> > line 89
> 
> Some sort of Windows/File::Temp bug. I don't see any bugs there related
> to it -
> can you tell us what version you are using?

I'll check when I get back home in an hour.

> > C:\DBD-Pg-2.13.1>set TEST_VERBOSE=1
> >
> > C:\DBD-Pg-2.13.1>dmake test
> 
> This did not seem to work, FWIW.
> 
> Thanks for the detailed report. Hopefully somebody on the list will
> recognize
> that "handle not initialized" error.

I may throw a tuit on it if nobody else can.

--Curtis

--
Curtis Jewell
[email protected]

%DCL-E-MEM-BAD, bad memory
-VMS-F-PDGERS, pudding between the ears

[I use PC-Alpine, which deliberately does not display colors and
pictures in HTML mail]
--
Curtis Jewell
[email protected]

%DCL-E-MEM-BAD, bad memory
-VMS-F-PDGERS, pudding between the ears

[I use PC-Alpine, which deliberately does not display colors and pictures in 
HTML mail]

Reply via email to