Search Postgresql Archives

Re: Rule problem: return value of insert

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

 



Stephen Friedrich <stephen.friedrich@xxxxxxxxxxxx> writes:
> Or do you mean that the last rule that
> gets evaluated will determine the result, even if it's where clause evaluates
> to false?

Right.  In effect, the last one in alphabetical order will always
determine the result, whether it's the one that does the useful insert
or not.

> Thanks I'll try that. Yet I have only some dozen cdrs at any time, so
> I doubt it will make a big difference?

Perhaps not, but it's worth checking.

			regards, tom lane


[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