Thanks for your help.
It runs blindlingly fast under beta5 so I'll keep my fingers crossed and
hope it will be stable enough!
Tom Lane wrote in message <17919(dot)984457255(at)sss(dot)pgh(dot)pa(dot)us>...
>"david morgan" <david_morgan(at)s4c(dot)co(dot)uk> writes:
>> I am having a few problems using a select query which joins two views
>> containing aggregate functions (see query 1 below).
>
>I don't think there's any chance of making that work in pre-7.1
>Postgres. Sorry :-(.