Re: view with insert rule

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: view with insert rule
Дата
Msg-id 15391.1356899198@sss.pgh.pa.us
обсуждение исходный текст
Ответ на view with insert rule  (Philipp Kraus <philipp.kraus@flashpixx.de>)
Список pgsql-general
Philipp Kraus <philipp.kraus@flashpixx.de> writes:
> Can I create a view, that can be used like a table, so on insert statements the default values are set?

Sure.  Just use ALTER VIEW SET DEFAULT to attach default values to the
columns of the view.

            regards, tom lane


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

Предыдущее
От: Philipp Kraus
Дата:
Сообщение: view with insert rule
Следующее
От: Christian Hammers
Дата:
Сообщение: Re: rights for schema