From: Tom Lane <tgl@sss.pgh.pa.us>
To: Brian P Millett <bpm@ec-group.com>
Cc: John Cusick <jcusick@exotrope.net>
Cc: pgsql-interfaces@hub.org, Doug MacEachern <dougm@perl.apache.org>
Subject: Re: [INTERFACES] PL_na undeclared
Date: Thu, 30 Sep 1999 19:12:11 -0400
Message-ID: <16236.938733131@sss.pgh.pa.us> (raw)
In-Reply-To: <37F3DC96.CA874DF5@ec-group.com>
Brian P Millett <bpm@ec-group.com> writes:
> So if the PERLV is greater than 5.004_76 (When all of the internals
> started to be renamed) then the file perl_PL.h is included. The
> perl_PL.h is:
> #ifndef patchlevel
> #define patchlevel PL_patchlevel
> #endif
> [ and a lot more in the same vein ]
Ugh. I was afraid the answer would be just that dirty :-(
Would someone volunteer to do the legwork on teaching the postgres perl5
module about this? I had a TODO item to look into it myself, but it
could be a long time before it gets to the top of my queue.
Probably we ought to modify the Pg.pm file to use the new names, and
then conditionally include macro definitions to substitute the old
names, rather than the other way around as your example has it.
Forward thinking and all that.
regards, tom lane
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: tgl@sss.pgh.pa.us, bpm@ec-group.com, jcusick@exotrope.net, dougm@perl.apache.org
Subject: Re: [INTERFACES] PL_na undeclared
In-Reply-To: <16236.938733131@sss.pgh.pa.us>
* 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