Re: Pro et contra of preserving pg_proc oids during pg_upgrade

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Pro et contra of preserving pg_proc oids during pg_upgrade
Дата
Msg-id 54121d8abf6440d46daa91528c4df8c0fc29f7cd.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: Pro et contra of preserving pg_proc oids during pg_upgrade  (Nikita Malakhov <hukutoc@gmail.com>)
Список pgsql-hackers
On Thu, 2023-10-12 at 19:56 +0300, Nikita Malakhov wrote:
> Say, we have data processed by some user function and we want to keep reference to this function
> in our data. In this case we have two ways - first - store string output of regprocedure, which is not
> very convenient, and the second - store its OID, which requires slight modification of pg_upgrade
> (pg_dump and func/procedure creation function).

So far, we have lived quite well with the rule "don't store any system OIDs in the database
if you want to pg_upgrade" (views on system objects, reg* data types, ...).

What is inconvenient about storing the output of regprocedure?

Yours,
Laurenz Albe



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

Предыдущее
От: Vik Fearing
Дата:
Сообщение: Re: Tab completion for AT TIME ZONE
Следующее
От: jian he
Дата:
Сообщение: Re: [PATCH] Add support function for containment operators