Re: About postgres pg_upgrade

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: About postgres pg_upgrade
Дата
Msg-id 113487F2-2373-4CE8-A642-69D5FEC74C67@yesql.se
обсуждение исходный текст
Ответ на [MASSMAIL]About postgres pg_upgrade  (Rama Krishnan <raghuldrag@gmail.com>)
Ответы Re: About postgres pg_upgrade  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-general
> On 5 Apr 2024, at 06:47, Rama Krishnan <raghuldrag@gmail.com> wrote:

> Could you please explain me how does pg_upgrade works one of my friends it works based on pg_restore I am bit
confused

The documentation does a fairly good job explaining how it works, and there are
multiple blogposts and presentations on the subject to be found.

    https://www.postgresql.org/docs/devel/pgupgrade.html

To summarize in a few words, pg_upgrade does a dump/restore of the schema from
the old cluster into the new, but copies the table data.  Your friend is thus
isn't wrong, it does use pg_restore but only for the schema, not the data.

--
Daniel Gustafsson




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

Предыдущее
От: Rama Krishnan
Дата:
Сообщение: [MASSMAIL]About postgres pg_upgrade
Следующее
От: Adnan Dautovic
Дата:
Сообщение: Re: Failure of postgres_fdw because of TimeZone setting