Re: Stumped by a version conflict.

From: Patric Michael <bluestar43(at)gmail(dot)com>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Stumped by a version conflict.
Date: 2010-07-16 23:20:45
Message-ID: AANLkTikRAspk3fhBwyiKGBKPkG8BWMpfFZS-DQ6LCsxL@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Fri, Jul 16, 2010 at 4:08 PM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>wrote:

> On Fri, Jul 16, 2010 at 4:31 PM, Patric Michael <bluestar43(at)gmail(dot)com>
> wrote:
>
> >
> > Everything came back up as expected, with the exception of postgres.
> When I
> > went to start it manually, I got an error warning of an unrecognized
> > tcpip_socket parameter in postgresql.conf. Searching the 8.1 manual I
> > discovered it had been deprecated in favor of listen_addresses. Odd, but
> > okay.
>
> Is it possible you started 8.1 in a different directory by hand
> (pg_ctl -D /my/other/dir start) many years ago and that the default
> old install of 7.4 is sitting in the /var/lib/pgsql spot?
>

HI Scott. I think if anything, the reverse is true. It is entirely
possible that I started 7.4 in a different directory by hand and that the
7.4 server had been running all this time. Since I can't find any other
instances pf pg_ctl, I may well have deleted the old tree afterward as Craig
suggested. (And with me being unaware that it was the old version running
and not the new.)

Truly, that's the only logical thing I can think of for an explanation.

My only concern at this point, and the one that makes me hesitate, is
wondering whether or not the current database is somehow erroneously
reporting itself as 7.4 when it is in fact 8.1. Is there any other means
aside from PG_VERSION for the binaries to determine which database structure
was initialized?

Thank you for your reply.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2010-07-16 23:28:57 Re: Stumped by a version conflict.
Previous Message Scott Marlowe 2010-07-16 23:08:12 Re: Stumped by a version conflict.