Re: Upgrade from 9.5.4 to 9.6.1

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Rich Shepard <rshepard(at)appl-ecosys(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Upgrade from 9.5.4 to 9.6.1
Date: 2016-11-16 01:21:39
Message-ID: bf12381e-9dd3-1068-17f3-0f8e6341c5a8@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/15/2016 05:06 PM, Rich Shepard wrote:
> On Tue, 15 Nov 2016, Adrian Klaver wrote:
>
>> Assuming the bindirs are in your $PATH:
>>
>> aklaver(at)panda:~> whereis -f pg_ctl
>
> Adrian,
>
> In my case:
>
> $ whereis -f pg_ctl
> pg_ctl: /bin/pg_ctl /usr/bin/pg_ctl /usr/X11R6/bin/pg_ctl
> /usr/bin/X11/pg_ctl /usr/X11/bin/pg_ctl /usr/man/man1/pg_ctl.1
> /usr/man/man1/pg_ctl.1.gz /usr/share/man/man1/pg_ctl.1
> /usr/share/man/man1/pg_ctl.1.gz /usr/X11/man/man1/pg_ctl.1
> /usr/X11/man/man1/pg_ctl.1.gz

So what do you get with

/usr/bin/pg_ctl --version

and given John's suggestion:

ls -al /usr/bin/pg_ctl

>
>> Even if only one is the $PATH:
>
>> you can usually figure out where the other is.
>
> I suppose if I knew which version is in each of those directories it
> would
> make life easier.
>
> Currently, only 9.5.4 is running; 9.6.1 is installed and initiated but
> not
> running. When I invoke 'psql -l' I see the clusters installed in 9.5.4.

So how are you going to start the 9.6 instance?

>
> Will use pg_dumpall and pg_restore ... tomorrow morning.
>
> Thanks very much,
>
> Rich
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2016-11-16 01:23:48 Re: Upgrade from 9.5.4 to 9.6.1
Previous Message Rich Shepard 2016-11-16 01:18:28 Re: Upgrade from 9.5.4 to 9.6.1