Re: simple trigger question ...

Поиск
Список
Период
Сортировка
От Marc G. Fournier
Тема Re: simple trigger question ...
Дата
Msg-id 20030403000605.U71125@hub.org
обсуждение исходный текст
Ответ на Re: simple trigger question ...  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: simple trigger question ...  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
On Wed, 2 Apr 2003, Tom Lane wrote:

> "Marc G. Fournier" <scrappy@hub.org> writes:
> > I want to create a trigger on a table that for every insert, in performs a
> > nextval on a sequence ...
>
> Er ... you just want to bump the sequence and throw away the actual
> value?  You don't want to store the value somewhere?

Correct



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: simple trigger question ...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: simple trigger question ...