Re: Bug or Feature?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Herbert R(dot) Ambos" <hrambos(at)transco(dot)ph>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Bug or Feature?
Date: 2004-02-10 08:29:09
Message-ID: 10796.1076401749@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Herbert R. Ambos" <hrambos(at)transco(dot)ph> writes:
> [ drops only column of a table ]

> Is this allowed in SQL?

The SQL spec forbids that. We deliberately decided to ignore the spec
restriction, because it creates too many unpleasant boundary cases for
tools that want to manipulate table definitions. "DROP COLUMN foo"
shouldn't depend on whether there are other columns besides foo.

In short, yes, it's a feature.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2004-02-10 08:32:28 Re: Error in declaring %rowtype for recurrence
Previous Message Kumar 2004-02-10 06:41:41 Error in declaring %rowtype for recurrence