Re: Re: [SQL] getting the oid for a new tuple in a BEFORE trigger

Поиск
Список
Период
Сортировка
От Horst Herb
Тема Re: Re: [SQL] getting the oid for a new tuple in a BEFORE trigger
Дата
Msg-id 01083013404901.26591@munin.gnumed.dhs.org
обсуждение исходный текст
Ответ на Re: [SQL] getting the oid for a new tuple in a BEFORE trigger  ("omid omoomi" <oomoomi@hotmail.com>)
Список pgsql-hackers
On Wednesday 29 August 2001 20:05, you wrote:
> hi,
> Idon't know the best way but how about a quick insert in a temp table and
> adding 1 to the inserted oid column each time the trigger will run.!
> regards

As you don't know how many users access the server concurrently and in which 
order they will be served you will probably noty get what you want unless you 
work on a single user single client-server connection all the time.

Horst


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

Предыдущее
От: Jon Lapham
Дата:
Сообщение: Odd rule behavior?
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Odd rule behavior?