Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: undefine currval() - Mailing list pgsql-sql

From Tom Lane
Subject Re: undefine currval()
Date
Msg-id [email protected]
Whole thread Raw
In response to undefine currval()  (Chris Gamache <[email protected]>)
List pgsql-sql
Chris Gamache <[email protected]> writes:
> One (theoretical) workaround would be to issue some sort of command to the
> back-end database to wipe all values of currval() when a "new" connection is
> made. I've done some digging in the system tables and source code, and can't
> find an obvious solution.

The state involved is in a linked list kept by commands/sequence.c.
Such a command would not be difficult to implement, if you could get
agreement on the syntax to use.
        regards, tom lane


pgsql-sql by date:

Previous
From: Chris Gamache
Date:
Subject: undefine currval()
Next
From: Bruce Momjian
Date:
Subject: Re: undefine currval()