From: Lamar Owen <lamar.owen@wgcr.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: John Cusick <jcusick@exotrope.net>
Cc: pgsql-interfaces@hub.org
Subject: Re: [INTERFACES] PL_na undeclared
Date: Mon, 27 Sep 1999 20:07:58 -0400
Message-ID: <99092720242505.07044@lowen.wgcr.org> (raw)
References: <28025.938476335@sss.pgh.pa.us>
On Mon, 27 Sep 1999, Tom Lane wrote:
> We've heard reports of that before. Apparently, the low-level
> interfaces to Perl have changed incompatibly in the recent past
> (between 5.004 something and 5.005 something I think).
I am no Perl guru, but I have successfully built and tested the perl client
from 6.5.2 against perl 5.00503, which shipped with RedHat 6.0. No hoops
needed (except a patch to the interfaces makefile to change perl5 Makefile.pl
to perl Makefile.pl The key is to build the perl client on the same version as
it will be run against.
Results of running the perl client test script test.pl:
bash$ perl test.pl
Pg::conndefaults ........ ok
Pg::connectdb ........... ok
$conn->exec ............. ok
$conn->errorMessage ..... ok
$conn->db ............... ok
$conn->user ............. ok
$conn->port ............. ok
$conn->cmdStatus ........ ok
$conn->oidStatus ........ ok
$conn->getline .......... ok
$conn->endcopy .......... ok
$result->cmdTuples ...... ok
$result->fname .......... ok
$result->ftype .......... ok
$result->fsize .......... ok
$result->fnumber ........ ok
$result->fetchrow ....... ok
test sequence finished.
Perl and perl-client versions:
bash$ rpm -qa|grep perl
perl-5.00503-2
postgresql-perl-6.5.2-1
bash$
postgresql-perl-6.5.2-1 and it's non-beta brothers will be released in a few
days, once I've put it through some more hoops. This is the set that, barring
any more bugs in the init and upgrading scripts, will be released with RedHat
6.1 on an undisclosed date ;-).
-----------------------------------------------------------------------------
Lamar Owen
WGCR Internet Radio
1 Peter 4:11
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: lamar.owen@wgcr.org, tgl@sss.pgh.pa.us, jcusick@exotrope.net, pgsql-interfaces@hub.org
Subject: Re: [INTERFACES] PL_na undeclared
In-Reply-To: <99092720242505.07044@lowen.wgcr.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox