Re: preserving db/ts/relfilenode OIDs across pg_upgrade (was Re: storing an explicit nonce)

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: preserving db/ts/relfilenode OIDs across pg_upgrade (was Re: storing an explicit nonce)
Дата
Msg-id
1230173.1629218575@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Stephen Frost <sfrost@snowman.net>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Stephen Frost <sfrost@snowman.net>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Stephen Frost <sfrost@snowman.net>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Thomas Munro <thomas.munro@gmail.com>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Robert Haas <robertmhaas@gmail.com>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Andres Freund <andres@anarazel.de>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Andres Freund <andres@anarazel.de>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Andres Freund <andres@anarazel.de>
Re: Key management with tests Tom Kincaid <tomjohnkincaid@gmail.com>
Re: Key management with tests Amit Kapila <amit.kapila16@gmail.com>
Re: Key management with tests Andres Freund <andres@anarazel.de>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Andres Freund <andres@anarazel.de>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Andres Freund <andres@anarazel.de>
Re: Key management with tests Tom Kincaid <tomjohnkincaid@gmail.com>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Robert Haas <robertmhaas@gmail.com>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Tom Kincaid <tomjohnkincaid@gmail.com>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Masahiko Sawada <sawada.mshk@gmail.com>
Re: Key management with tests Stephen Frost <sfrost@snowman.net>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Stephen Frost <sfrost@snowman.net>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Stephen Frost <sfrost@snowman.net>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Stephen Frost <sfrost@snowman.net>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Stephen Frost <sfrost@snowman.net>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Tom Kincaid <tomjohnkincaid@gmail.com>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Stephen Frost <sfrost@snowman.net>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests "Moon, Insung" <tsukiwamoon.pgsql@gmail.com>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Tom Kincaid <tomjohnkincaid@gmail.com>
Re: Key management with tests Robert Haas <robertmhaas@gmail.com>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Michael Paquier <michael@paquier.xyz>
Re: Key management with tests Robert Haas <robertmhaas@gmail.com>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Robert Haas <robertmhaas@gmail.com>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests "David G. Johnston" <david.g.johnston@gmail.com>
Re: Key management with tests Masahiko Sawada <sawada.mshk@gmail.com>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Stephen Frost <sfrost@snowman.net>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Stephen Frost <sfrost@snowman.net>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Stephen Frost <sfrost@snowman.net>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Stephen Frost <sfrost@snowman.net>
Re: Key management with tests Neil Chen <carpenter.nail.cz@gmail.com>
Re: Key management with tests Stephen Frost <sfrost@snowman.net>
Re: Key management with tests Neil Chen <carpenter.nail.cz@gmail.com>
Re: Key management with tests Masahiko Sawada <sawada.mshk@gmail.com>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Masahiko Sawada <sawada.mshk@gmail.com>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Andres Freund <andres@anarazel.de>
Re: Key management with tests Stephen Frost <sfrost@snowman.net>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Stephen Frost <sfrost@snowman.net>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Stephen Frost <sfrost@snowman.net>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Bruce Momjian <bruce@momjian.us>
Re: Key management with tests Andres Freund <andres@anarazel.de>
Stephen Frost  writes:
> Also agreed on this, though I wonder- do we actually need to explicitly
> make CREATE DATABASE q WITH OID = 1234; only work during binary upgrade
> mode in the backend?  That strikes me as perhaps doing more work than we
> really need to while also preventing something that users might actually
> like to do.

There should be adequate defenses against a duplicate OID already,
so +1 --- no reason to insist this only be used during binary upgrade.

Actually though ... I've not read the patch, but what does it do about
the fact that the postgres and template0 DBs do not have stable OIDs?
I cannot imagine any way to force those to match across PG versions
that would not be an unsustainable crock.

			regards, tom lane


В списке pgsql-hackers по дате отправления
От: Julien Rouhaud
Дата:
От: Robert Haas
Дата:
FAQ