Re: ALTER TYPE ADD SEND AND RECEIVE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Manuel Kniep <m(dot)kniep(at)web(dot)de>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: ALTER TYPE ADD SEND AND RECEIVE
Date: 2014-12-10 23:06:28
Message-ID: 31302.1418252788@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Manuel Kniep <m(dot)kniep(at)web(dot)de> writes:
> I have a custom type and want to add the yet missing SEND and RECEIVE functions
> is there anyway to alter the type definition without dropping and recreating it?

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.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message vicky 2014-12-10 23:32:48 Re: Integrating C++ singletons into postgresql extensions???
Previous Message Alvaro Herrera 2014-12-10 21:03:02 Re: new index type with clustering in mind.