Re: ALTER TYPE ADD SEND AND RECEIVE - Mailing list pgsql-general

From Tom Lane
Subject Re: ALTER TYPE ADD SEND AND RECEIVE
Date
Msg-id 22688.1418350035@sss.pgh.pa.us
Whole thread Raw
In response to Re: ALTER TYPE ADD SEND AND RECEIVE  (Manuel Kniep <manuel@adjust.com>)
List pgsql-general
Manuel Kniep <manuel@adjust.com> writes:
> On 11. Dezember 2014 at 00:08:52, Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> There's no supported way to do that. As an unsupported way, you could
>> consider a manual UPDATE on the type's pg_type row.

> I also thought about this but I guess I have to INSERT the dependency in pg_depend too.

Personally, I wouldn't bother with that.  Good practice would be to have
any such type packaged as an extension; so if you add the new functions
to the extension (which is supported) there's no need to be terribly
tense about the intra-extension dependencies.  But even if you didn't
do that, the worst consequence of dropping the functions would be
"cache lookup failed" errors.

            regards, tom lane


pgsql-general by date:

Previous
From: Manuel Kniep
Date:
Subject: Re: ALTER TYPE ADD SEND AND RECEIVE
Next
From: Michael Paquier
Date:
Subject: Re: Documentation missing bigint?