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 20030118135025.E3621-100000@houston.familyhealth.com.au
Whole thread Raw
In response to Re: v7.3.1 psql against a v7.2.x database ...  (Justin Clift <justin@postgresql.org>)
Responses Re: v7.3.1 psql against a v7.2.x database ...  (Justin Clift <justin@postgresql.org>)
List pgsql-hackers
> With ever more larger businesses adopting PostgreSQL, and that leading
> on to more places having several versions of PostgreSQL in operation
> simultaneously (i.e. development vs production) we're probably going to
> need to give psql the ability to handle whichever version of the PG
> backend it happens to connect to.
>
> Marc's suggestion of breaking psql into it's own sub-project makes good
> sense from that point of view.

Subproject or not, why don't we just rearrange psql to dynamically load a
library of functions, eg:

libpsql72.so
libpsql73.so
etc...

And in them you have functions like:

printTableDef();
printViewDef();
etc...

Chris




pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Can we revisit the thought of PostgreSQL 7.2.4?
Next
From: Lamar Owen
Date:
Subject: Re: Can we revisit the thought of PostgreSQL 7.2.4?