Re: [BUGS] Maybe a bug found with nextval() function

2004-06-05 Thread Joe Sunday
On Thu, Feb 19, 2004 at 07:16:42PM +0100, Alexander Troppmann wrote: >SELECT SETVAL('recipe_id_seq', max(id)) FROM recipe; > > returns the following output: > > setval > >455 >(1 row) Ok. > Now I tried to fetch the next free primary key id for my "recipe" table:

[BUGS] Maybe a bug found with nextval() function

2004-06-05 Thread Alexander Troppmann
POSTGRESQL BUG REPORT TEMPLATE Your name : Alexander Troppmann Your email address : [EMAIL PROTECTED] Syste

Re: [BUGS] Maybe a bug found with nextval() function

2004-02-20 Thread Bruce Momjian
Look at this: test=> CREATE SEQUENCE x; CREATE SEQUENCE test=> \d x Sequence "public.x" Column | Type ---+- sequence_name | name last_value| bigint increment_by | bigint