Re: Retroactively adding send and recv functions to a type?

Поиск
Список
Период
Сортировка
От Johann 'Myrkraverk' Oskarsson
Тема Re: Retroactively adding send and recv functions to a type?
Дата
Msg-id CAA_SOw8R8Gnx-7cOAum4TC5wkUjEo725k4JevjjnUcM8ghLgug@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Retroactively adding send and recv functions to a type?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Retroactively adding send and recv functions to a type?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Tue, Aug 20, 2019 at 1:32 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> "Johann 'Myrkraverk' Oskarsson" <johann@myrkraverk.com> writes:
> > I meant ALTER TYPE.  Adding the send and recv functions doesn't seem
> > to supported by ALTER TYPE.
> > Is there a workaround for this?
>
> You could manually update the pg_type row, and then if you were
> being fussy, add pg_depend entries showing the type depends on
> the functions.

Can I do this in a future proof way?  That is, is there a way to make
that into an upgrade script, or will I make the extension
un-upgradable doing that?


-- 
Johann

 I'm not from the internet, I just work there.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Retroactively adding send and recv functions to a type?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Retroactively adding send and recv functions to a type?