Test to see if currval will fail?

From: Kelly McDonald <w4kpm(at)adelphia(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: Test to see if currval will fail?
Date: 2002-12-05 19:20:54
Message-ID: 1039116055.26640.11.camel@shadrach
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Is there a test to see if a call to currval will fail? I would like to
call nextval one time per session inside a trigger. I am working on
other solutions, but I searched the docs and didn't find what I was
looking for.

Thanks,
Kelly

--
Kelly McDonald
Systems Analyst/Programmer
VistaShare LLC
www.vistashare.com

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2002-12-05 19:21:13 Re: database location problems
Previous Message Joel Burton 2002-12-05 15:31:08 Re: Adding "NOT NULL" Constraint with CREATE TABLE or ALTER TABLE