Re: v7.3.1 psql against a v7.2.x database ... - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: v7.3.1 psql against a v7.2.x database ...
Date
Msg-id 20030111103251.A45491-100000@houston.familyhealth.com.au
Whole thread Raw
In response to Re: v7.3.1 psql against a v7.2.x database ...  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
> Right.  It is just the _cruft_ factor that has prevented us from doing
> it in the past.

Well, you could always have the function library for each different
version in a different shared lib which you load on demand.

Alternatively, follow the phpPgAdmin3 style and have a class 'Postgres71'
and from that inherit 'Postgres72' and override any functions that have
changed, etc.

Chris




pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: default to WITHOUT OIDS?
Next
From: Laurette Cisneros
Date:
Subject: Re: 7.3 pg_dump with -Fc option crashes