Re: pg_dumpall Sets Roll default_tablespace Before Creating Tablespaces

Поиск
Список
Период
Сортировка
От Florian Pflug
Тема Re: pg_dumpall Sets Roll default_tablespace Before Creating Tablespaces
Дата
Msg-id 625A5F56-DC4A-4DF9-889D-D92CF556C90C@phlo.org
обсуждение исходный текст
Ответ на Re: pg_dumpall Sets Roll default_tablespace Before Creating Tablespaces  (Phil Sorber <phil@omniti.com>)
Ответы Re: pg_dumpall Sets Roll default_tablespace Before Creating Tablespaces
Список pgsql-hackers
On Oct21, 2011, at 16:42 , Phil Sorber wrote:
> If you did want to make them immutable, I also like Florian's idea of
> a dependency graph. This would make the dumps less readable though.

Hm, I kinda reversed my opinion on that, though - i.e., I no longer think
that the dependency graph idea has much merit. For two reasons

First, dependencies work on OIDs, not on names. Thus, for the dependency
machinery to work for GUCs, they'd also need to store OIDs instead of
names of referenced schema objects. (Otherwise you get into trouble if
objects are renamed)

Which of course doesn't work, at least for roles, because roles are
shared objects, but referenced objects might be database-local.
(search_path, for example).

best regards,
Florian Pflug



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

Предыдущее
От: Florian Pflug
Дата:
Сообщение: Re: Synchronized snapshots versus multiple databases
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [PATCH] Log crashed backend's query v3