[SQL] Database views metadata always nullable columns

Поиск
Список
Период
Сортировка
От basuraspam -
Тема [SQL] Database views metadata always nullable columns
Дата
Msg-id CAAMZiXCo2PdDXBB0b+uCfdNMk+meGa_7J1y_qm5eumFc9zV-5Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: [SQL] Database views metadata always nullable columns  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Hi...
   Doing some automatic metadata parsing job against postgresql schema I just find that database views always shown all its column as nullable, it doesn't matter what are the constraints in the original table columns used as source to create the view.
I just checked it against infomation_schema and pg_attribute with the same result. 
I'm aware that pg_attributes.attnotnull is updatable reflecting the changes in information_schema also, but, do you know of some SQL query to extract this information correctly automatically? 
Regards,

В списке pgsql-sql по дате отправления:

Предыдущее
От: anand086
Дата:
Сообщение: Re: [SQL] Using bind variable within BEGIN END
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] Database views metadata always nullable columns