Re: Fwd: REWRITE_INVOKE_MAX and "query may contain cycles"

Поиск
Список
Период
Сортировка
От Eric B.Ridge
Тема Re: Fwd: REWRITE_INVOKE_MAX and "query may contain cycles"
Дата
Msg-id 2E568417-45B7-11D7-9F63-0003937E3354@tcdi.com
обсуждение исходный текст
Ответ на Re: Fwd: REWRITE_INVOKE_MAX and "query may contain cycles"  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Views + Rules + Triggers + 7.3.2 = Upgrade Problems (was: Re: REWRITE_INVOKE_MAX and "query may contain cycles" )
Список pgsql-general
On Thursday, February 20, 2003, at 10:20  PM, Tom Lane wrote:
> "Eric B. Ridge" <ebr@tcdi.com> writes:
>> INSERT INTO foo (id, title, type) VALUES (<default>, 'whatever',
>> <default>);
>
>> Is there no keyword for getting the DEFAULT value of a column when
>> doing an INSERT?
>
> Not sure how far back this goes, but in 7.3 you can say DEFAULT:
<snip>
>   alter table foo_view alter column id set default
> nextval('seq_foo_id');
>
> and away you go.

Thanks for this information.  Y'all rock.  These two things are enough
to convince me to upgrade to 7.3 immediately.

eric


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

Предыдущее
От: Christopher Murtagh
Дата:
Сообщение: Slow update - index problem?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Slow update - index problem?