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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Retroactively adding send and recv functions to a type?
Дата
Msg-id 23029.1566235939@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Retroactively adding send and recv functions to a type?  ("Johann 'Myrkraverk' Oskarsson" <johann@myrkraverk.com>)
Ответы Re: Retroactively adding send and recv functions to a type?  ("Johann 'Myrkraverk' Oskarsson" <johann@myrkraverk.com>)
Re: Retroactively adding send and recv functions to a type?  (Vik Fearing <vik.fearing@2ndquadrant.com>)
Список pgsql-general
"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.

            regards, tom lane



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

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