Re: Upgrading

Поиск
Список
Период
Сортировка
От Amn Ojee Uw
Тема Re: Upgrading
Дата
Msg-id 931207bb-42f2-3d1a-7b89-c5f3aa1c5b1a@gmail.com
обсуждение исходный текст
Ответ на Re: Upgrading  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
Ответы Re: Upgrading  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general

Thank you Ron and Peter for taking the time to respond to my call for help.

In summery, I'd like to use PostgreSQL-15.

However, since my Debian 12 already has already PostgreSQL-15 installed, did I inadvertently overwrote PostgreSQL-15 when I installed PostgreSQL-12? If so, how do I remove PostgreSQL-12 and continue on with PostgreSQL-15.

Please note that I installed using the following command

sudo apt-get -y install postgresql-12

Thanks in advance.


On 7/30/23 11:34 a.m., Peter J. Holzer wrote:
On 2023-07-30 07:53:54 -0400, Amn Ojee Uw wrote:
On my Debian 12, I installed PostgreSQL-12,
Where did you install that from?

AFAICS, Debian 12 comes with PostgreSQL 15.

I'd like to upgrade to the latest release of PostgreSQL. So, my
question is, what is the best way to upgrade to the next release of
PostgreSQL?
If you stay with the same source, Just installing the new version and
then invoking pg_upgrade (or a variant - PGDG, Debian, Ubuntu have
pg_upgradecluster) should do the trick.

If you switch sources, the setup may be sufficiently different that
pg_dump/pg_restore may be the easiest way.
        hp

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

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Understanding pg_stat_io.evictions
Следующее
От: Tom Browder
Дата:
Сообщение: Re: Migrating MySQL DB to PostgreSQL DB.