Ruslan A Dautkhanov <rusland(at)scn(dot)ru> writes:
> PostgreSQL do not remove it's internal dependency when I DROP DEFAULT
> (it was nextval(...)), so I still can't remove the sequence.
Ideally we'd prevent you from doing DROP DEFAULT, too. That's mucking
with the internals of the SERIAL implementation. Drop the column if you
don't want it anymore.
regards, tom lane