Test to see if currval will fail? - Mailing list pgsql-novice

From Kelly McDonald
Subject Test to see if currval will fail?
Date
Msg-id 1039116055.26640.11.camel@shadrach
Whole thread Raw
Responses Re: Test to see if currval will fail?
List 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





pgsql-novice by date:

Previous
From: Joel Burton
Date:
Subject: Re: Adding "NOT NULL" Constraint with CREATE TABLE or ALTER TABLE
Next
From: Tom Lane
Date:
Subject: Re: database location problems