Re: Retroactively adding send and recv functions to a type?
В списке pgsql-general по дате отправления:
| От | Vik Fearing |
|---|---|
| Тема | Re: Retroactively adding send and recv functions to a type? |
| Дата | |
| Msg-id | 64b6e379-a234-e515-59f9-db025a848831@2ndquadrant.com обсуждение |
| Ответ на | Re: Retroactively adding send and recv functions to a type? (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Retroactively adding send and recv functions to a type?
|
| Список | pgsql-general |
On 19/08/2019 19:32, Tom Lane wrote: > "Johann 'Myrkraverk' Oskarsson" <johann@myrkraverk.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. We generally discourage updating the catalogs directly. This was why I wrote the CREATE/ALTER DATABASE patch in 2014 that you helped me with (fbb1d7d73f8). I'm willing to work on a patch for ALTER TYPE if it has a chance of being accepted. -- Vik Fearing
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера