Phil Endecott wrote: > I converted the first query like this: > > create or replace temporary view u_messages as > select * from messsages where owner=$1;
What makes you think this should work? -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend