Re: References to arbitrary database objects that are suitable for pg_dump

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: References to arbitrary database objects that are suitable for pg_dump
Дата
Msg-id 1193.1480118440@sss.pgh.pa.us
обсуждение исходный текст
Ответ на References to arbitrary database objects that are suitable for pg_dump  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Ответы Re: References to arbitrary database objects that are suitable for pg_dump
Список pgsql-hackers
Jim Nasby <Jim.Nasby@BlueTreble.com> writes:
> The challenge I'm running into is finding a way to store a reference to 
> an arbitrary object that will survive a rename as well as working with 
> pg_dump.

Can't you do it like pg_depend does, that is store the class and object
OIDs?  Then use pg_describe_object() to turn that into text when dumping.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Fixed pg_class refcache leak when the meta tuple in pg_class in invalid.
Следующее
От: Paul Ramsey
Дата:
Сообщение: Re: User-defined Operator Pushdown and Collations