Re: getting back autonumber just inserted - Mailing list pgsql-sql

From PFC
Subject Re: getting back autonumber just inserted
Date
Msg-id op.stkdygr8th1vuj@localhost
Whole thread Raw
In response to Re: getting back autonumber just inserted  (Michael Fuhr <mike@fuhr.org>)
Responses Re: getting back autonumber just inserted
Re: getting back autonumber just inserted
List pgsql-sql
> That's a different issue than whether currval() is subject to
> interference from other transactions.  And just wait until PostgreSQL
> 8.1 comes out and people start using lastval() -- then it could get
> *really* confusing which sequence value you're getting.
What happens if an INSERT trigger inserts something into another table  
which also has a sequence ?



pgsql-sql by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: getting back autonumber just inserted
Next
From: Alvaro Herrera
Date:
Subject: Re: getting back autonumber just inserted