From: | taich(at)gmx(dot)at (Thomas Aichinger) |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Bug with sequence |
Date: | 2002-11-18 15:45:19 |
Message-ID: | 92c0776e.0211180745.49911131@posting.google.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-sql |
Hi,
I recently installed pg 7.2.3 on my linux box and discovered that
there are some problems with datatype serial and sequence.
1.) If you create a table with a datatype serial, the corrsponding
sequence will be created, but if you drop the table the sequence is
not dropped.
2.) If you create a sequence and grant it to public one cant use
currval() until one used setval() or nextval().
"ERROR: midnr.currval is not yet defined in this session"
3.) Sometimes one gets 'not enogh privileges' error when using
nexval()
Am I the first one who discovered that?
Thanks
Thomas
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Lamb | 2002-11-18 15:53:20 | Re: tree ordering with varbit |
Previous Message | Bruce Momjian | 2002-11-18 15:45:15 | Re: [GENERAL] DECLARE CURSOR |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-11-18 16:04:33 | Re: [HACKERS] ipc-daemon |
Previous Message | Bruce Momjian | 2002-11-18 15:45:15 | Re: [GENERAL] DECLARE CURSOR |
From | Date | Subject | |
---|---|---|---|
Next Message | Jason Hihn | 2002-11-18 16:39:57 | Re: Press Release -- Just Waiting for Tom |
Previous Message | Dan Langille | 2002-11-18 14:32:42 | Re: Trees: maintaining pathnames |