Bug #581: Sequence cannot be deleted

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема Bug #581: Sequence cannot be deleted
Дата
Msg-id 200202120126.g1C1QbG94691@postgresql.org
обсуждение исходный текст
Ответы Re: Bug #581: Sequence cannot be deleted  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Bug #581: Sequence cannot be deleted  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-bugs
BAZIN Nicolas (nbazin@ingenico.com.au) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
Sequence cannot be deleted

Long Description
A Sequence is created automatically with the SQL command:
CREATE TABLE fa_ccpsholderscpt(hsc_serial  SERIAL  NOT NULL ,chd_serial INTEGER NOT NULL ,hsc_respcode CHAR(2) NOT NULL
,scp_codeCHAR(4) NOT NULL ,imp_flag SMALLINT) 

but when I try to delete it with the following command:
DROP SEQUENCE fa_ccpsholderscpt_hsc_serial_seq

I get this error:
sequence "fa_ccpsholderscpt_hsc_serial_se" does not exist

I work with version 7.1.3 on Openserver 5.0.5, gcc 2.95.3 and send the SQL commands through the JDBC driver.


Sample Code


No file was uploaded with this report

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bug #580: Optimizer uses seq scan only
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #582: no mapping for java.sql.Types.DECIMAL