Re: Adding an extra boolean column to "information_schema.columns"or "pg_attribute"
В списке pgsql-general по дате отправления:
| От | Karsten Hilbert |
|---|---|
| Тема | Re: Adding an extra boolean column to "information_schema.columns"or "pg_attribute" |
| Дата | |
| Msg-id | 20171230192310.GF5732@hermes.hilbert.loc обсуждение |
| Ответ на | Adding an extra boolean column to "information_schema.columns" or "pg_attribute" (GPT <gptmailinglists@gmail.com>) |
| Ответы |
Re: Adding an extra boolean column to "information_schema.columns" or "pg_attribute"
|
| Список | pgsql-general |
On Sat, Dec 30, 2017 at 08:17:34PM +0100, GPT wrote: > I would like to add an extra boolean attribute to table columns, > something like NULL. Unfortunately Pg does not support such a feature: > > ADD ATTRIBUTE <attribute_name> TYPE <type_of_attribute> TO COLUMN > <schema.table.column_name>; ... > I have already been suggested to use VIEW or dynamic SQL but I am > looking something different. Can you explain why ? One thing that comes to mind is complex user types. Or columns of type table. Karsten -- GPG key ID E4071346 @ eu.pool.sks-keyservers.net E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера