Re: DBD::PostgreSQL compile time /run time version

From: "Thomas A(dot) Lowery" <tl-lists(at)stlowery(dot)net>
To: dbi-dev(at)perl(dot)org, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: DBD::PostgreSQL compile time /run time version
Date: 2002-11-21 13:15:40
Message-ID: 20021121131540.GA13071@stllnx1.stlowery.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

On Tue, Nov 19, 2002 at 03:13:49PM -0800, David Wheeler wrote:
> On Tuesday, November 19, 2002, at 04:19 AM, Peter Haworth wrote:
>
> >as well as adding the 7.3 behavior, and deciding which to do based on
> >the
> >server version?
>
> I think I'd rather do it at compile-time, depending on the PosgreSQL
> libraries available. Folks who compile against 7.3 and then connect to
> 7.2 get what they ask for, IMO.

Ack! I hope this isn't true. Think about it: My development machine has
the latest and greatest PostgreSQL installed (along with
Perl/DBI/dbish), I'm testing the difference between PostgreSQL 7.2 and
7.3 in my application. Time to connect with the production server to
research a difference (the 7.2 base).

Do I need to maintain two copies of DBD::Postgres (or DBD::Pg ... not
sure of the new name) one compiled for 7.2 and one for 7.3?

I understand the pain of supporting different functions for different
versions.

Tom

--
Thomas A. Lowery
See DBI/FAQ http://xmlproj.dyndns.org/cgi-bin/fom

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Reinoud van Leeuwen 2002-11-21 13:28:35 Why an array in pg_group?
Previous Message Oliver Elphick 2002-11-21 07:50:03 Re: DBD::PostgreSQL

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jeff Urlwin 2002-11-21 14:45:46 Re: :PgSQL: More Queestions
Previous Message Adam Witney 2002-11-21 10:53:32 Re: :PgSQL: More Queestions