Re: Re: [SQL] getting the oid for a new tuple in a BEFORE trigger - Mailing list pgsql-hackers

From Horst Herb
Subject Re: Re: [SQL] getting the oid for a new tuple in a BEFORE trigger
Date
Msg-id 01083013404901.26591@munin.gnumed.dhs.org
Whole thread Raw
In response to Re: [SQL] getting the oid for a new tuple in a BEFORE trigger  ("omid omoomi" <oomoomi@hotmail.com>)
List 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 by date:

Previous
From: Jon Lapham
Date:
Subject: Odd rule behavior?
Next
From: Stephan Szabo
Date:
Subject: Re: Odd rule behavior?