Re: pgsql: pg_upgrade: Preserve relfilenodes and tablespace OIDs.
От | Robert Haas |
---|---|
Тема | Re: pgsql: pg_upgrade: Preserve relfilenodes and tablespace OIDs. |
Дата | |
Msg-id | CA+Tgmoad8ZiMchVvD743GuETBozmkjVGv-7r5cKm7FoMxthODA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: pgsql: pg_upgrade: Preserve relfilenodes and tablespace OIDs. (Christoph Berg <myon@debian.org>) |
Ответы |
Re: pgsql: pg_upgrade: Preserve relfilenodes and tablespace OIDs.
|
Список | pgsql-hackers |
On Sun, Feb 13, 2022 at 6:51 AM Christoph Berg <myon@debian.org> wrote: > Re: Robert Haas > > pg_upgrade: Preserve relfilenodes and tablespace OIDs. > > > src/bin/pg_dump/pg_dumpall.c | 3 + > > --- a/src/bin/pg_dump/pg_dumpall.c > +++ b/src/bin/pg_dump/pg_dumpall.c > @@ -1066,6 +1066,9 @@ dumpTablespaces(PGconn *conn) > /* needed for buildACLCommands() */ > fspcname = pg_strdup(fmtId(spcname)); > > + appendPQExpBufferStr(buf, "\n-- For binary upgrade, must preserve pg_table > + appendPQExpBuffer(buf, "SELECT pg_catalog.binary_upgrade_set_next_pg_table > > This needs to be guarded with "if (binary_upgrade)". Right. Sorry about that, and sorry for not responding sooner also. Fix pushed now. -- Robert Haas EDB: http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: