| От | Richard Huxton |
|---|---|
| Тема | Re: Changing the number and type of columns in a view |
| Дата | |
| Msg-id | 45531A60.7020604@archonet.com обсуждение исходный текст |
| Ответ на | Changing the number and type of columns in a view (Russell Smith <mr-russ@pws.com.au>) |
| Список | pgsql-general |
Russell Smith wrote: > Hi General, > > Is there a reason why it is not possible to redefine a view with a > different number of columns or a different column type? > It's been possible to change the datatypes of a table, and the column > numbers for a long time. What are the restrictions on making this > possible for views. > > I know you can drop an recreate the view, but if the view has dependent > objects it becomes more difficult. That's why - the dependent objects might have to change with it. I suppose it should be possible to add columns to a view without causing too many problems. Or change a column-definition provided it isn't referenced anywhere. -- Richard Huxton Archonet Ltd
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера