From: Marc G. Fournier <scrappy@hub.org>
To: Lane Van Ingen <lvaningen@esncc.com>
To: pgsql-admin@postgresql.org
Subject: Re: Where to Get Version of PostgreSQL Installation
Date: Thu, 14 Dec 2006 19:53:55 -0400
Message-ID: <3C11E96D86D2C687416C2C7E@ganymede.hub.org> (raw)
In-Reply-To: <TWMAILmNN79xavjrRZ10000002a@twmail.ESNCC.COM>
References: <TWMAILmNN79xavjrRZ10000002a@twmail.ESNCC.COM>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- --On Thursday, December 14, 2006 10:23:04 -0500 Lane Van Ingen
<lvaningen@esncc.com> wrote:
>
> Can I tell what version of the server I am running FOR SURE by using the
> command ‘psql --version’ ??
>
> I am running 8.0.? on Windows 2003.
try:
psql -c "select version();" template1
I believe 'psql --version' gives you version of psql, not the server itself,
while select version(); wil give you the server ...
- ----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email . scrappy@hub.org MSN . scrappy@hub.org
Yahoo . yscrappy Skype: hub.org ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
iD8DBQFFgeQU4QvfyHIvDvMRAvMyAKCKaSTPUhPLZ/O+eABd2p8198ZK+wCcC/pr
Bql8Tvpl06xVbloVJvrhn90=
=87Nu
-----END PGP SIGNATURE-----
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: scrappy@hub.org, lvaningen@esncc.com
Subject: Re: Where to Get Version of PostgreSQL Installation
In-Reply-To: <3C11E96D86D2C687416C2C7E@ganymede.hub.org>
References: <TWMAILmNN79xavjrRZ10000002a@twmail.ESNCC.COM> <3C11E96D86D2C687416C2C7E@ganymede.hub.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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