pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: DBD::PostgreSQL compile time /run time version
2+ messages / 2 participants
[nested] [flat]

* Re: DBD::PostgreSQL compile time /run time version
@ 2002-11-21 13:15  Thomas A. Lowery <tl-lists@stlowery.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Thomas A. Lowery @ 2002-11-21 13:15 UTC (permalink / raw)
  To: dbi-dev@perl.org; 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: DBD::PostgreSQL compile time /run time version
@ 2002-11-21 23:38  David Wheeler <david@wheeler.net>
  parent: Thomas A. Lowery <tl-lists@stlowery.net>
  0 siblings, 0 replies; 2+ messages in thread

From: David Wheeler @ 2002-11-21 23:38 UTC (permalink / raw)
  To: Thomas A. Lowery <tl-lists@stlowery.net>; +Cc: dbi-dev@perl.org; pgsql-interfaces

On Thursday, November 21, 2002, at 05:15  AM, Thomas A. Lowery wrote:

> 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.

This would be the best reason to change the name of the driver. But I'm 
still on the fence wrt all this, and it's likely to be months before I 
have something workable and it's time to decide how to handle the issue 
of compatibility.

Regards,

David

-- 
David Wheeler                                     AIM: dwTheory
david@wheeler.net                                 ICQ: 15726394
http://david.wheeler.net/                      Yahoo!: dew7e
                                                Jabber: Theory@jabber.org




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-11-21 23:38 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-11-21 13:15 Re: DBD::PostgreSQL compile time /run time version Thomas A. Lowery <tl-lists@stlowery.net>
2002-11-21 23:38 ` David Wheeler <david@wheeler.net>

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