| От | Tom Lane |
|---|---|
| Тема | Re: ALTER TYPE ADD SEND AND RECEIVE |
| Дата | |
| Msg-id | 22688.1418350035@sss.pgh.pa.us обсуждение |
| Ответ на | Re: ALTER TYPE ADD SEND AND RECEIVE (Manuel Kniep <manuel@adjust.com>) |
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера