From: Bruce Momjian <maillist@candle.pha.pa.us>
To: Alex Shnitman <alexsh@hectic.net>
Cc: pgsql-general@postgreSQL.org
Subject: Re: [GENERAL] *Old* PostgreSQL version
Date: Fri, 25 Jun 1999 09:27:34 -0400 (EDT)
Message-ID: <199906251327.JAA20643@candle.pha.pa.us> (raw)
In-Reply-To: <14195.33095.146168.290530@hectic.hectic.net>
> Hi!
>
> I read in the FAQ that in order to find out the version of PostgreSQL
> I'm running I have to so "select version();" from psql. I have a very
> old installation of PostgreSQL that I need to upgrade, so I need to
> find out its version, but this trick doesn't work:
>
> database_name=> select version();
> WARN:parser: Syntax error at or near "version"
>
> What else can I do? I can see from the dates of the files that it was
> installed sometime in mid-1997. What else can I use to find the
> version?
That's a good one. There is a data/PG_VERSION file in the install
directory that should contain the version, though there was one release
where we forgot to update that. That may help. I assume you don't have
the source code, because the HISTORY file always has the version at the
top of the file.
--
Bruce Momjian | http://www.op.net/~candle
maillist@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
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-general@postgresql.org
Cc: maillist@candle.pha.pa.us, alexsh@hectic.net
Subject: Re: [GENERAL] *Old* PostgreSQL version
In-Reply-To: <199906251327.JAA20643@candle.pha.pa.us>
References: <14195.33095.146168.290530@hectic.hectic.net> <199906251327.JAA20643@candle.pha.pa.us>
* 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