Re: Bug in sequence dependency checking

Поиск
Список
Период
Сортировка
От Mendola Gaetano
Тема Re: Bug in sequence dependency checking
Дата
Msg-id 002e01c323ea$b7c1d9c0$10d4a8c0@mm.eutelsat.org
обсуждение исходный текст
Ответ на Bug in sequence dependency checking  (Ruslan A Dautkhanov <rusland@scn.ru>)
Список pgsql-bugs
Ruslan A Dautkhanov <rusland@scn.ru>  wrote:

> Hello all,
> PostgreSQL do not remove it's internal dependency when I DROP DEFAULT (it
was nextval(...)),
> so I still can't remove the sequence. Please see the real example bellow:

[ CUTTED ]

you did:
   alter table ttPrefixes alter ttid DROP DEFAULT;

may be inded you should do
   alter table ttPrefixes alter ttpid DROP DEFAULT;


in order to remove the serial
    public.ttprefixes_ttpid_seq



Regards
Gaetano

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

Предыдущее
От: Sean Chittenden
Дата:
Сообщение: pg_class_aclcheck: relation [oid] not found...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_class_aclcheck: relation [oid] not found...