RE: A little RULE help?
От | Steven Winfield |
---|---|
Тема | RE: A little RULE help? |
Дата | |
Msg-id | E9FA92C2921F31408041863B74EE4C2001A47A36A0@CCPMAILDAG03.cantab.local обсуждение исходный текст |
Ответ на | Re: A little RULE help? (Vik Fearing <vik.fearing@2ndquadrant.com>) |
Ответы |
Re: A little RULE help?
|
Список | pgsql-general |
No. It's because your view's WHERE clause is being added to your INSERT
and of course nothing matches, so nothing gets inserted.
> That would fit with what I observe, but I’m not sure how I go about
> proving
EXPLAIN
Thanks. You’re right - I should have thought to use EXPLAIN before posting here.
Don't use RULEs.
--
Vik Fearing +33 6 46 75 15 36
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
Repeating this, as if I should already know this, is less helpful though. It’s not as if the docs tells users to steer clear of RULEs.
If there is something I don’t understand, such as RULEs, I prefer to experiment with it and ask questions if there is something I still don’t follow. I thought this was the correct forum for those questions.
В списке pgsql-general по дате отправления: