Re: plpgsql/rule question

Поиск
Список
Период
Сортировка
От Ed L.
Тема Re: plpgsql/rule question
Дата
Msg-id 200501112102.29684.pgsql@bluepolka.net
обсуждение исходный текст
Ответ на Re: plpgsql/rule question  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Tuesday January 11 2005 8:58, Tom Lane wrote:
> "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...

Perfect, thanks.  The more I learn, the less I know.

Ed


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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: plpgsql/rule question
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Bug in pg_dump in 7.4.6?