Re: plpgsql/rule question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: plpgsql/rule question
Дата
Msg-id 6751.1105502337@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: plpgsql/rule question  ("Ed L." <pgsql@bluepolka.net>)
Ответы Re: plpgsql/rule question  ("Ed L." <pgsql@bluepolka.net>)
Список pgsql-general
"Ed L." <pgsql@bluepolka.net> writes:
> The reason I ask is because I'd like to allow any explicitly specified
> values for the view insert, including NULL, to be passed through to the
> table insert and override the column defaults.

Possibly you can solve your problem by attaching the defaults to the
view, not to the table at all.  ALTER TABLE view ALTER COLUMN col SET
DEFAULT something has worked for a number of PG releases...

            regards, tom lane

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

Предыдущее
От: "Ed L."
Дата:
Сообщение: Re: plpgsql/rule question
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: plpgsql/rule question