DROPping tables with SERIALs

Поиск
Список
Период
Сортировка
От Jan Iven
Тема DROPping tables with SERIALs
Дата
Msg-id 199811271520.QAA00697@pollux.rz.uni-sb.de
обсуждение исходный текст
Ответы Re: [HACKERS] DROPping tables with SERIALs
Re: [HACKERS] DROPping tables with SERIALs
Список pgsql-hackers
Hi,

I have run into a problem dropping and re-creating tables with
type SERIAL:

CREATE TABLE t ( s SERIAL);
DROP TABLE t;
CREATE TABLE t ( s SERIAL);

gives
ERROR:  t_s_seq relation already exists

This looks like the implicitly created sequence t_s_seq is not dropped
together with the table.

I am running a current (?) cvs snapshot from anoncvs@postgresql.org.

Jan


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

Предыдущее
От: Sferacarta Software
Дата:
Сообщение: copy
Следующее
От: Gilmar Ribeiro da Rosa
Дата:
Сообщение: ...