Re: Updatable Views - DEFAULT doesn't inherit from table???

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Updatable Views - DEFAULT doesn't inherit from table???
Дата
Msg-id 49393A81.3030702@archonet.com
обсуждение исходный текст
Ответ на Re: Updatable Views - DEFAULT doesn't inherit from table???  (Csaba Együd <csegyud@gmail.com>)
Ответы Re: Updatable Views - DEFAULT doesn't inherit from table???  (Csaba Együd <csegyud@gmail.com>)
Список pgsql-general
Csaba Együd wrote:
> Thx for your reply. Is there any possible way to generate an sql to
> "copy" these defaults to the view.

Nothing pre-packaged that I know of. You could probably do something
copying values about in pg_attribute and pg_constraint, but that'd be an
"at your own risk" sort of activity I suspect.

For simpler defaults etc. you could probably get what you need from
information_schema.columns

--
  Richard Huxton
  Archonet Ltd

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

Предыдущее
От: Glyn Astill
Дата:
Сообщение: Re: in transaction - safest way to kill
Следующее
От: "Grzegorz Jaśkiewicz"
Дата:
Сообщение: Re: Updatable Views - DEFAULT doesn't inherit from table???