Search Postgresql Archives

Re: ALTER TYPE ADD SEND AND RECEIVE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Manuel Kniep <manuel@xxxxxxxxxx> writes:
> On 11. Dezember 2014 at 00:08:52, Tom Lane (tgl@xxxxxxxxxxxxx) 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


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux