Re: infinite recursion detected in rules for relation

Поиск
Список
Период
Сортировка
От David G Johnston
Тема Re: infinite recursion detected in rules for relation
Дата
Msg-id CAKFQuwbdtNaTW0rf4V2eKY-tF4VH8H9xCJz+mQQvbgGpRvDhDg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: infinite recursion detected in rules for relation  (pinker <pinker@onet.eu>)
Ответы Re: infinite recursion detected in rules for relation  (pinker <pinker@onet.eu>)
Список pgsql-general
User created rules are almost never the correct solution.  There are too many cavets and views can accomplish nearly everything that a user might want.

David J.

On Friday, February 13, 2015, pinker [via PostgreSQL] <[hidden email]> wrote:
hmm I wanted to show only rows that was inserted today, so instead of who='me' wanted to filter for instance where timestamp_column=CURRENT_DATE.

Yes, a view would be a solution but I thouhgt that's the case rules were made for? Isn't it?


If you reply to this email, your message will be added to the discussion below:
http://postgresql.nabble.com/infinite-recursion-detected-in-rules-for-relation-tp5837697p5837822.html
To unsubscribe from infinite recursion detected in rules for relation, click here.
NAML


View this message in context: Re: infinite recursion detected in rules for relation
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: How to hide stored procedure's bodies from specific user
Следующее
От: Ramesh T
Дата:
Сообщение: Collection