Dhanaraj M - Sun Microsystems <[EMAIL PROTECTED]> writes:
> I fixed the above bug. I attach the patch here. Please review and 
> acknowledge me.

> Bug details
> ========
> BUG #2073: Can't drop sequence when created via SERIAL column

That isn't a bug, and this "fix" is not appropriate.  See eg Bruce's
response to that bug report:

I speculated a bit ago (can't find it in the archives at the moment)
that we should abandon the hidden dependency altogether, and go back to
having SERIAL just create the sequence and the default expression.
Another idea that might be worth exploring is to link the sequence to
the default expression rather than to the table column itself.  But
randomly dropping the dependency is not the answer.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?


Reply via email to