AW: pg_dump / pg_restore version confusion

Поиск
Список
Период
Сортировка
От Zwettler Markus (OIZ)
Тема AW: pg_dump / pg_restore version confusion
Дата
Msg-id cd13226e522a4ff1aed6488d865f5c52@zuerich.ch
обсуждение исходный текст
Ответ на Re: pg_dump / pg_restore version confusion  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: pg_dump / pg_restore version confusion  (Bruce Momjian <bruce@momjian.us>)
Re: AW: pg_dump / pg_restore version confusion  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
And I can also do this restore:

<quote>
Would a pg_restore with a v12 client into a postgres v9.6 database work and be officially supported?
</quote>

-Markus



> -----Ursprüngliche Nachricht-----
> Von: Bruce Momjian <bruce@momjian.us>
> Gesendet: Mittwoch, 29. Juli 2020 13:49
> An: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
> Cc: pgsql-general <pgsql-general@lists.postgresql.org>
> Betreff: Re: pg_dump / pg_restore version confusion
>
> On Wed, Jul 29, 2020 at 10:53:34AM +0000, Zwettler Markus (OIZ) wrote:
> > Hi,
> >
> >
> >
> > An external supplier had a postgres v9.5 database which he dumped with
> > a pg_dump v12 client in custom format using PgAdmin4.
> >
> >
> >
> > Would a pg_restore with a v12 client into a postgres v9.6 database
> > work and be officially supported?
>
> Yes, you can always use a newer pg_dump on an older database, though the
> reverse is not recommended.  In fact, if you are upgrading to PG 12, it is
> recommended to use pg_dump v12 to dump a Postgres database from an earlier
> version.
>
> --
>   Bruce Momjian  <bruce@momjian.us>        https://momjian.us
>   EnterpriseDB                             https://enterprisedb.com
>
>   The usefulness of a cup is in its emptiness, Bruce Lee




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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_dump / pg_restore version confusion
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_dump / pg_restore version confusion