Search Postgresql Archives

conditional rules VS 1 unconditional rule with multiple commands?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I just wonder whether the two are equivalent from user perspective: As far 
as I see, you can always rewrite a multi-command rule as a conditional rule 
and vice versa. Further more, Postgres seems to execute all the conditional 
rules, just as if it would execute all the commands in the one unconditional 
rule. So, I just wonder if there is any use in using conditionals in rules 
over one multi-command rule?

Regards,
Davor 



-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux