Nelio Alves Pereira Filho <nelio(at)ifx(dot)com(dot)br> writes:
> The only thing is that view don't implement unions, but I can do union
> of views instead.
Views containing unions work in current sources (7.1-to-be).
BTW, views containing GROUP BY and/or aggregates are pretty flaky in
current releases; be wary when using one. Also fixed for 7.1.
regards, tom lane