Wrapper to use correct version of psql? - Mailing list pgsql-general

From Steve Atkins
Subject Wrapper to use correct version of psql?
Date
Msg-id C915797C-C8E4-4E98-B872-A671565B7ECC@blighty.com
Whole thread Raw
Responses how to remove the duplicate elements from an array?
Re: Wrapper to use correct version of psql?
List pgsql-general
I have a bunch of different version of postgresql installed, from 7.0
on forward, on various servers. As psql is fairly version specific,
and tends to misbehave if the client and server versions don't match,
I usually need to remember which version is running on which machine
and port.

The obvious thing to do is write a wrapper that will transparently run
the right version of psql for the database it's connecting to. Has
anyone already done that?

Cheers,
   Steve


pgsql-general by date:

Previous
From: "Bill Wordsworth"
Date:
Subject: Re: php + postgresql
Next
From: owen hartnett
Date:
Subject: Re: Strange Postgresql behavior solved