Re: [HACKERS] SELECT ... LIMIT (trial implementation)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] SELECT ... LIMIT (trial implementation)
Дата
Msg-id 14091.908644914@sss.pgh.pa.us
обсуждение исходный текст
Ответ на SELECT ... LIMIT (trial implementation)  (jwieck@debis.com (Jan Wieck))
Ответы Re: [HACKERS] SELECT ... LIMIT (trial implementation)  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
jwieck@debis.com (Jan Wieck) writes:
>     I've seen the queryLimit  by  SET  variable  stuff  and  that
>     really  can  break rewrite rules, triggers or functions. This
>     is because the query limit will be  inherited  by  any  query
>     (inserts, updates, deletes too) done by them.
>     [ example snipped ]
>     This is a feature where  users  can  get  around  rules  that
>     ensure data integrity.

Ouch.  I think this point is a *fatal* objection to implementing
query limit as a SET variable.  That might be a quick-and-dirty way
of getting some functionality going, but we can't let it loose on the
world like that.

            regards, tom lane

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

Предыдущее
От: darcy@druid.net (D'Arcy J.M. Cain)
Дата:
Сообщение: Re: [HACKERS] Did the inet type get backed out?
Следующее
От: "Taral"
Дата:
Сообщение: RE: [SQL] Is this BUG or FEATURE?