From: | "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: [GENERAL] How to get seq after insert |
Date: | 1999-04-20 16:53:24 |
Message-ID: | 371CB104.E6195771@rice.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hmm, Ross needs to break for lunch - his brain is runing out of glucose!
Ross J. Reedstrom wrote:
>
> No, as Herouth pointed out, currval is multiuser-safe: it returns the
> last value given in the current session, and every user get's their own
gets
> session. I just tried it out in two psql sessions to a test sequence -
> no matter how many calls to nextval I do in one window, the currval in
> each gives the write answer.
right or correct
Ross
--
Ross J. Reedstrom, Ph.D., <reedstrm(at)rice(dot)edu>
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St., Houston, TX 77005
From | Date | Subject | |
---|---|---|---|
Next Message | Michael J Davis | 1999-04-20 17:25:11 | RE: [GENERAL] How to get seq after insert |
Previous Message | Ross J. Reedstrom | 1999-04-20 16:32:48 | Re: [GENERAL] How to get seq after insert |