Wrapper to use correct version of psql?

From: Steve Atkins <steve(at)blighty(dot)com>
To: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Wrapper to use correct version of psql?
Date: 2008-07-26 17:10:55
Message-ID: C915797C-C8E4-4E98-B872-A671565B7ECC@blighty.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message owen hartnett 2008-07-26 17:41:04 Re: Strange Postgresql behavior solved
Previous Message Bill Wordsworth 2008-07-26 16:07:06 Re: php + postgresql