Re: Efficient DELETE Strategies

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Efficient DELETE Strategies
Дата
Msg-id 200206101541.37049.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: Efficient DELETE Strategies  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Tom,

> >> If so, what's their syntax?
>
> > MSSQL seems to guess what the user wants.
>
> Gack.  Nothing like treating mindless syntax variations as a "feature"
> list...

I vote that we stick to a strick SQL92 interpretation, here.
1) It's standard
2) Strict syntax on DELETE statements is better.

Personally, I would *not* want the database to "guess what I want" in a delete
statement; it might guess wrong and there go my records ...

Heck, one of the things I need to research how to turn off in PostgreSQL is
the "Add missing FROM-clause" feature, which has tripped me up many times.

--
-Josh Berkus



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Efficient DELETE Strategies
Следующее
От: Barry Lind
Дата:
Сообщение: Re: [HACKERS] Efficient DELETE Strategies