Problem with old relation

Поиск
Список
Период
Сортировка
От Rado Petrik
Тема Problem with old relation
Дата
Msg-id 1051878034.29270.7.camel@caj
обсуждение исходный текст
Ответы Re: Problem with old relation
Re: Problem with old relation
Список pgsql-sql
Hi, 

1) When I create new table expample.

CREATE TABLE "kokot" (
"kokot" SERIAL );


2) and then DROP table kokot ..

3) and then again CREATE table 

CREATE TABLE "kokot" (
"kokot" SERIAL );

PostgreSQL return this error 

PostgreSQL said: ERROR: Relation 'kokot_kokot_seq' already exists
Your query:
CREATE TABLE "kokot" (
"kokot" SERIAL );

Where is problem ?
Thanks 

Rado 
-- 
Rado Petrik <r.p@szm.sk>



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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: How to write an query to get this result?
Следующее
От: Andreas Schmitz
Дата:
Сообщение: Re: Problem with old relation