pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedRe: DBD::Pg 1.22 fatal bug / patch
2+ messages / 2 participants
[nested] [flat]
* Re: DBD::Pg 1.22 fatal bug / patch
@ 2003-10-30 09:12 Jason E. Stewart <jason@openinformatics.com>
0 siblings, 1 reply; 2+ messages in thread
From: jason@openinformatics.com @ 2003-10-30 09:12 UTC (permalink / raw)
To: Tavin Cole <tavin@agilecomputing.com>; +Cc: dbi-dev@perl.org; pgsql-interfaces
Hi,
I've added your patch to GBorg.
Thanks,
jas.
Tavin Cole <tavin@agilecomputing.com> writes:
> i'm running a script that uses DBD::Pg 1.22 and fails with:
>
> Undefined subroutine &DBD::Pg::db::pg_server_version called at
> /usr/lib/perl5/site_perl/5.8.0/i686-linux/DBD/Pg.pm line 911.
>
> this is fixed with the attached patch. thanks for the software!
>
> cheers
>
> --
> Tavin Cole <tavin@agilecomputing.com>
> http://www.agilecomputing.com/
>
> --- Pg.pm.bak 2003-03-26 23:28:37.000000000 -0500
> +++ Pg.pm 2003-04-20 14:28:39.000000000 -0400
> @@ -908,7 +908,8 @@
> # by pg_constraint. To maintain compatibility, check
> # version number and execute appropriate query.
>
> - my $version = pg_server_version( $dbh );
> + #my $version = pg_server_version( $dbh );
> + my $version = DBD::Pg::pg_server_version( $dbh );
>
> my $con_query = $version < 7.3
> ? "SELECT rcsrc FROM pg_relcheck WHERE rcname = '${table}_$col_name'"
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: DBD::Pg 1.22 fatal bug / patch
@ 2003-10-31 18:31 Rudy Lippan <rlippan@remotelinux.com>
parent: Jason E. Stewart <jason@openinformatics.com>
0 siblings, 0 replies; 2+ messages in thread
From: Rudy Lippan @ 2003-10-31 18:31 UTC (permalink / raw)
To: Jason E. Stewart <jason@openinformatics.com>; +Cc: Tavin Cole <tavin@agilecomputing.com>; 'DBI developers' <dbi-dev@perl.org>; pgsql-interfaces
On 30 Oct 2003, Jason E. Stewart wrote:
> Hi,
>
> I've added your patch to GBorg.
>
FYI, this should already be in CVS. And in the the beta versions up on
CPAN; the latest beta being 1.31_7.
Rudy
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-10-31 18:31 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-10-30 09:12 Re: DBD::Pg 1.22 fatal bug / patch Jason E. Stewart <jason@openinformatics.com>
2003-10-31 18:31 ` Rudy Lippan <rlippan@remotelinux.com>
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