getting the value from nextval('sequencename')

From: David Giffin <david(at)agent911(dot)com>
To: pgsql-general(at)hub(dot)org
Subject: getting the value from nextval('sequencename')
Date: 1999-09-20 20:40:48
Message-ID: Pine.BSF.4.05.9909201338250.37324-100000@central.agent911.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Is there a way to tell what nextval('sequencename') returned? I have been
doing a seperate query to get it. But in production this would lead to
race conditions.

Thanks,

David

Browse pgsql-general by date

  From Date Subject
Next Message Nam Do 1999-09-20 22:14:34
Previous Message Colin Price (EML) 1999-09-20 17:57:20 subscribe pgsql-general