Re: Postgres open source upgrades

Поиск
Список
Период
Сортировка
От Teja Jakkidi
Тема Re: Postgres open source upgrades
Дата
Msg-id 70F022F4-4A35-4F5F-86A1-C5B571253A70@gmail.com
обсуждение исходный текст
Ответ на Postgres open source upgrades  (Teja Jakkidi <teja.jakkidi05@gmail.com>)
Ответы Re: Postgres open source upgrades  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-admin
I also tried to test a minor upgrade with online documentation I found. I implemented the below steps for upgrading
from14.1 to 14.2 and this is open source. 
Before upgrade binary location is /postgres/14
1. Stop the cluster
2. Rename old binary location to /postgres/14.old
3. Create new binary location /postgres/14.2
4. Untar the software,
     Configure in the new directory 14.2 with new unrated software
     Make world
     Make install-world
5. Rename /postgres/14.2 to /postgres/14
6. Start the cluster
Cluster started and I was able to connect remotely with no issues. However when I tried using psql, I got below error:
         Connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed.
But my postgres has been using socket file in /tmp location before upgrade. I am not sure why after upgrade psql is
searchingat a different allocation for socket.  
Can someone help me here?
Are the steps that I did, correct??


Thanks and Regards,
J. Teja Sri.

> On Jun 28, 2022, at 12:13 PM, Teja Jakkidi <teja.jakkidi05@gmail.com> wrote:
>
> Hello pgsql-admin,
>
> I am very new to Postgres and trying to learn how upgrades work in Postgres.
> We have open source installation and I am wondering if anyone can help me with correct documentation or steps on
performingminor and major version upgrades. 
>
> Thanks,
> J. Teja Sri.



В списке pgsql-admin по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Postgres open source upgrades
Следующее
От: Teja Jakkidi
Дата:
Сообщение: Re: Postgres open source upgrades