It seems to be returning the right id. It should be next for the serial datatype.
Susan On Wed, Apr 16, 2014 at 5:13 PM, Bosco Rama <postg...@boscorama.com> wrote: > On 04/16/14 17:08, Susan Cassidy wrote: > > The function does a select to see if the id number exists, and it fails. > > NOT FOUND causes a RAISE EXCEPTION. > > Is it returning the right id? I seem to remember a recent thread > about Perl DBI returning the wrong id's for certain operations. > > Just at thought. > > Bosco. >