Re: Bug or stupidity

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug or stupidity
Дата
Msg-id 24972.1098912382@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bug or stupidity  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general
Bruno Wolff III <bruno@wolff.to> writes:
> On Wed, Oct 27, 2004 at 22:10:05 +0200,
>> 2. Let's change so that "add_missing_from" is disabled by default and
>> doesn't affect the DELETE statement at all.

> That is supposed to happen. My memory was that 8.0 was the release that
> the default was going to change, but if not then it should be 8.1.

add_missing_from was only added in 7.4; the default behavior goes all
the way back because we inherited it from PostQUEL.  It's probably
premature to flip the factory default after only one release cycle,
especially given the DELETE deficiency.  A reasonable position is to
flip the default one release cycle after we fix the DELETE syntax.

It is interesting that SQL2003 allows an alias on the UPDATE or DELETE
target table; that was definitely not there in SQL99 or earlier.  We'll
want to add that, for sure, but it is just a notational convenience.

There are several threads in the archives about how to fix the DELETE
syntax, but I don't think we ever really got consensus on what keyword
to use to introduce the auxiliary FROM clause.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Terry Lee Tucker
Дата:
Сообщение: Question Regarding Locks
Следующее
От: Denis Zaitsev
Дата:
Сообщение: interval to seconds conversion. How?