Re: Bug in sequence dependency checking - Mailing list pgsql-bugs

From Mendola Gaetano
Subject Re: Bug in sequence dependency checking
Date
Msg-id 002e01c323ea$b7c1d9c0$10d4a8c0@mm.eutelsat.org
Whole thread Raw
In response to Bug in sequence dependency checking  (Ruslan A Dautkhanov <rusland@scn.ru>)
List 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 by date:

Previous
From: Sean Chittenden
Date:
Subject: pg_class_aclcheck: relation [oid] not found...
Next
From: Tom Lane
Date:
Subject: Re: pg_class_aclcheck: relation [oid] not found...