Re: DBD::Pg on UnixWare

From: Edmund Mergl <E(dot)Mergl(at)bawue(dot)de>
To: Thomas Good <tomg(at)nrnet(dot)org>
Cc: pgsql-interfaces(at)hub(dot)org
Subject: Re: DBD::Pg on UnixWare
Date: 1999-05-01 19:33:32
Message-ID: 372B570C.D94F5B95@bawue.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Thomas Good wrote:
>
> Vital Signs:
> ------------
> Database version: PostgreSQL 6.3.2
> Alleged OS: UnixWare 2.1.2
> Perl Version: Perl 5.004_04
> DBI Module: DBI 0.91
> DBD Driver: DBD-Pg 0.69
>
> Gratuitous Whining:
> ------------------
> This combination runs fine on Linux 2.0.30 (Slackware 3.4) and
> FreeBSD 2.2.7 and 2.2.8 (Perl 5.005) but, like so many other things,
> has trouble working properly on UnixWare...
>
> Symptoms:
> ---------
> The most rudimentary report that uses DBI::DBD-Pg to return a cursor
> select is failing with:
>
> dynamic linker: /usr/bin/perl: symbol not found: strncasecmp
>
> Debug Attempt:
> -------------
> perl debug shows that the query is dying at line 101 of Pg.pm:
>
> 101: DBD::Pg::db::prepare(/opt/lib/perl5/site_perl/DBD/Pg.pm: 101):
> DBD::Pg::st_prepare($sth, $statement, @attribs)
> 102: or return undef;
>
> If I comment out the PAGER simply connect to the db I can do so
> without complaint. My $dbh->disconnect also exits without err.
>
> Any advice most appreciated (danke sehr, Edmund)...
> Tom
> ----
> North Richmond Community Mental Health Center
>
> Thomas Good Information Systems Coordinator
> E-Mail: tomg@ { admin | q8 } .nrnet.org
> Phone: 718-354-5528
> Fax: 718-354-5056
>
> Empowered by PostgreSQL 6.3.2

in Pg.xs replace strncasecmp() by strncmp().
The check, in which strncasecmp is used,
will not be as strict, as it should, but
this is not critical.

Edmund

--
Edmund Mergl mailto:E(dot)Mergl(at)bawue(dot)de
Im Haldenhau 9 http://www.bawue.de/~mergl
70565 Stuttgart fon: +49 711 747503
Germany

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Henk Jan Barendregt 1999-05-02 09:32:52 [libpq] Return value of int
Previous Message Tom Lane 1999-05-01 16:18:04 Re: [INTERFACES] Some needed features in postgresql