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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Johann 'Myrkraverk' Oskarsson" <johann(at)myrkraverk(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Retroactively adding send and recv functions to a type?
Date: 2019-08-19 17:32:19
Message-ID: 23029.1566235939@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Johann 'Myrkraverk' Oskarsson" <johann(at)myrkraverk(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Johann 'Myrkraverk' Oskarsson 2019-08-19 17:46:14 Re: Retroactively adding send and recv functions to a type?
Previous Message Johann 'Myrkraverk' Oskarsson 2019-08-19 17:26:02 Re: Retroactively adding send and recv functions to a type?