From: | Horst Herb <hherb(at)malleenet(dot)net(dot)au> |
---|---|
To: | "omid omoomi" <oomoomi(at)hotmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Re: [SQL] getting the oid for a new tuple in a BEFORE trigger |
Date: | 2001-08-30 03:40:49 |
Message-ID: | 01083013404901.26591@munin.gnumed.dhs.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-sql |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Markus Wagner | 2001-08-30 04:25:04 | nested SQL with SPI |
Previous Message | Ben Udkow | 2001-08-30 02:21:25 | ERROR: Function 'format_type(oid, int4)' does not exist |
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2001-08-30 04:05:55 | Re: Odd rule behavior? |
Previous Message | Jon Lapham | 2001-08-30 03:11:11 | Odd rule behavior? |
From | Date | Subject | |
---|---|---|---|
Next Message | Giorgio Volpe | 2001-08-30 08:12:53 | Apache authentication with debian linux |
Previous Message | Tatsuo Ishii | 2001-08-30 01:55:06 | Re: Latin-2 sort order |