Re: Updatable views

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Updatable views
Дата
Msg-id 5033.1156431645@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Updatable views  (Bernd Helmle <mailings@oopsware.de>)
Ответы Re: Updatable views
Re: [HACKERS] Updatable views
Список pgsql-patches
Bernd Helmle <mailings@oopsware.de> writes:
> While working on Alvaro's suggestions to fix the code i got the opinion
> that we need to reject any attempts to name a user defined rule
> as

> "_INSERT"
> "_NOTHING_INSERT"
> "_DELETE"
> "_NOTHING_DELETE"
> "_UPDATE"
> "_NOTHING_UPDATE"

If the code is dependent on recognizing names to know what it's doing,
then I'd say you have a fundamentally broken approach.  Consider adding
a flag column to pg_rewrite to distinguish these rules, instead.

            regards, tom lane

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