Alessandro Vincelli <a(dot)vincelli(at)w4b(dot)it> writes:
> I must pass NEW row to function count_room(rowtype) as in this code, but
> pgsql return "_ NEW used in query that is not in a rule".
> I have a bad syntax or is impossible pass NEW.*?
That will work in 8.0, but not before.
regards, tom lane