Re: Error creating tables.

Поиск
Список
Период
Сортировка
От Jean-Christophe Boggio
Тема Re: Error creating tables.
Дата
Msg-id 17226788475.20001012210137@thefreecat.org
обсуждение исходный текст
Ответ на Error creating tables.  (Aristide Aragon <aristide@lionking.org>)
Список pgsql-general
Salut Aristide,

Le Thursday, October 12, 2000 à 7:23:18 PM, tu me disais:

AA> create table test (id serial, name varchar(10) ) ;
AA> returns:
AA> NOTICE:  CREATE TABLE will create implicit sequence 'test_id_seq' for SERIAL column 'test.id'
AA> NOTICE:  CREATE TABLE/UNIQUE will create implicit index 'test_id_key' for table 'test'
AA> ERROR:  cannot create test_id_seq

Maybe the test_id_seq sequence already exists (you created the table
already, dropped it and, as someone said today, the DROP does not
automagically get rid of the automagic sequence created when you
declare a SERIAL field).

You can try :
DROP SEQUENCE test_id_seq;

Just guessing...

--
Jean-Christophe Boggio
cat@thefreecat.org
Independant Consultant and Developer
Delphi, Linux, Oracle, Perl



В списке pgsql-general по дате отправления:

Предыдущее
От: "K Parker"
Дата:
Сообщение: Re: PostgreSQL book
Следующее
От: "Adam Lang"
Дата:
Сообщение: Re: Re: PostgreSQL book