Re: bug# 2073 - Clarification - Mailing list pgsql-hackers

From Tom Lane
Subject Re: bug# 2073 - Clarification
Date
Msg-id 2356.1145894762@sss.pgh.pa.us
Whole thread Raw
In response to bug# 2073 - Clarification  (Dhanaraj M <Dhanaraj.M@Sun.COM>)
List pgsql-hackers
Dhanaraj M <Dhanaraj.M@Sun.COM> writes:
> Pl. look at the following code, which is taken from alter_table.sql 
> (regression test)

The regression test is designed to check for the current behavior.
If we were to change the behavior, then of course we'd need to change
the regression test as well.

Personally I'm starting to like the idea of attaching the sequence's
dependency to the column default definition (ie, to the attrdef entry
not directly to the column).  That would mean that ALTER COLUMN DROP
DEFAULT would be allowed and would cause the sequence to go away.
I'm not sure about whether this would have any downsides, though.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Mark Wong
Date:
Subject: Re: Further reduction of bufmgr lock contention
Next
From: Kris Jurka
Date:
Subject: Re: 2x compile warning