> lastval() returns the last value produced by nextval() or setval() in > the current session.
I'm in favour of that definition...
Chris