Re: cannot create sequence

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: olaf(dot)zanger(at)soli-con(dot)com
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, PgSQL-SQL <pgsql-sql(at)postgresql(dot)org>
Subject: Re: cannot create sequence
Date: 2001-02-15 00:14:27
Message-ID: 28725.982196067@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Olaf Zanger <olaf(dot)zanger(at)soli-con(dot)com> writes:
> it doesn't show ver_id_seq, nor own_id_seq when doing a \ds
> but it brings up an error "cannot create sequence) if i want to
> create table ver (id serial, ...);

What is the *exact* text of the error message? (That ain't it.)

I am guessing that a Unix file matching the desired sequence name got
left around in your database directory, and that removing this file
would allow you to create the sequence. However, I can't duplicate
any such problem by following the procedure you describe in 7.0.2...

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Victor Muntes Mutero 2001-02-15 08:48:17 TPCH questions
Previous Message Dan McGrath 2001-02-14 23:20:09 Re: Trigger question