pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedStatus of DBD:Pg and Pg interfaces for Perl
3+ messages / 3 participants
[nested] [flat]
* Status of DBD:Pg and Pg interfaces for Perl
@ 2001-04-08 12:00 Jeff Duffy <jeff@alanne.com>
0 siblings, 2 replies; 3+ messages in thread
From: Jeff Duffy @ 2001-04-08 12:00 UTC (permalink / raw)
To: pgsql-interfaces; +Cc: Lane, Tom <tgl@greatbridge.com>; Momjian, Bruce <bruce@greatbridge.com>
Greetings.
The RC3 release has an ancient version of the perl Pg interface in
/src/interfaces/Perl5, which predates the DBI architecture, the
de-facto standard for interfacing with a database from Perl. The
upshot of this is that most people will install the DBD::Pg module
from CPAN rather than use the older Pg interface in the source tree,
and neither Pg.pm or DBD::Pg include the segfault-on-text-insert fix
Tom provided.
This means that as of now there is no obvious way to get a Perl5
driver that will work correctly with toasted fields in 7.1. I have
emailed the maintainer (Edmund Mergl) twice in two weeks in an
attempt to get the patch applied, and he hasn't responded to either
of the emails, or any of the relevant threads on the DBI mailing
lists.
What are the odds of getting DBD::Pg version 0.95 (the latest)
patched with Tom's fix, into the 7.1 release (maybe as an addition to
/src/interfaces/Perl5)? Can a new version of an interface library be
considered a bugfix if it does not work properly, as this one does
not? Or is it just too late in the cycle for his kind of addition (in
which case another method of access needs to be available)?
Jeff
--
Jeff Duffy
jeff@alanne.com
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Status of DBD:Pg and Pg interfaces for Perl
@ 2001-04-08 21:47 The Hermit Hacker <scrappy@hub.org>
parent: Jeff Duffy <jeff@alanne.com>
1 sibling, 0 replies; 3+ messages in thread
From: The Hermit Hacker @ 2001-04-08 21:47 UTC (permalink / raw)
To: Jeff Duffy <jeff@alanne.com>; +Cc: pgsql-interfaces; Lane, Tom <tgl@greatbridge.com>; Momjian, Bruce <bruce@greatbridge.com>
too late in the cycle ...
On 8 Apr 2001, Jeff Duffy wrote:
> Greetings.
>
> The RC3 release has an ancient version of the perl Pg interface in
> /src/interfaces/Perl5, which predates the DBI architecture, the
> de-facto standard for interfacing with a database from Perl. The
> upshot of this is that most people will install the DBD::Pg module
> from CPAN rather than use the older Pg interface in the source tree,
> and neither Pg.pm or DBD::Pg include the segfault-on-text-insert fix
> Tom provided.
>
> This means that as of now there is no obvious way to get a Perl5
> driver that will work correctly with toasted fields in 7.1. I have
> emailed the maintainer (Edmund Mergl) twice in two weeks in an
> attempt to get the patch applied, and he hasn't responded to either
> of the emails, or any of the relevant threads on the DBI mailing
> lists.
>
> What are the odds of getting DBD::Pg version 0.95 (the latest)
> patched with Tom's fix, into the 7.1 release (maybe as an addition to
> /src/interfaces/Perl5)? Can a new version of an interface library be
> considered a bugfix if it does not work properly, as this one does
> not? Or is it just too late in the cycle for his kind of addition (in
> which case another method of access needs to be available)?
>
> Jeff
>
> --
> Jeff Duffy
> jeff@alanne.com
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Status of DBD:Pg and Pg interfaces for Perl
@ 2001-04-13 04:34 Tom Lane <tgl@sss.pgh.pa.us>
parent: Jeff Duffy <jeff@alanne.com>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2001-04-13 04:34 UTC (permalink / raw)
To: Jeff Duffy <jeff@alanne.com>; +Cc: pgsql-interfaces
"Jeff Duffy" <jeff@alanne.com> writes:
> and neither Pg.pm or DBD::Pg include the segfault-on-text-insert fix
> Tom provided.
What? Are you claiming that Pg.pm has a segfault problem in the same
area that DBD::Pg did? The code is sufficiently different that that
would surprise me considerably.
> What are the odds of getting DBD::Pg version 0.95 (the latest)
> patched with Tom's fix, into the 7.1 release (maybe as an addition to
> /src/interfaces/Perl5)?
Zip. We do not ship DBD::Pg as part of the Postgres distribution, and
adding it now is not practical (makefile changes alone would create more
breakage risk than I care to consider).
If Edmund Mergl would like us to start shipping DBD::Pg in the
distribution, then I'd certainly consider that for 7.2 and later.
But right offhand, distributing it via CPAN seems to make more
sense, since you'd have to go to CPAN for DBI anyway...
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2001-04-13 04:34 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-04-08 12:00 Status of DBD:Pg and Pg interfaces for Perl Jeff Duffy <jeff@alanne.com>
2001-04-08 21:47 ` The Hermit Hacker <scrappy@hub.org>
2001-04-13 04:34 ` Tom Lane <tgl@sss.pgh.pa.us>
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