Re: Rewrite without correlated subqueries - Mailing list pgsql-sql

From bricklen
Subject Re: Rewrite without correlated subqueries
Date
Msg-id 33b743250908201503r10686639s17adc292565c5ee7@mail.gmail.com
Whole thread Raw
In response to Re: Rewrite without correlated subqueries  (Scott Marlowe <scott.marlowe@gmail.com>)
List pgsql-sql
On Thu, Aug 20, 2009 at 2:59 PM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
On Thu, Aug 20, 2009 at 3:16 PM, bricklen<bricklen@gmail.com> wrote:
> Interesting idea. Preferably this operation could be done in straight SQL in
> a single transaction, to fit in with the way our application works, but if
> that's not possible I may need to go the temporary table route.

Temp tables can be included in a transaction, and they're not visible
to other connections.

Yeah I know, but I was thinking more of replacing this query with vanilla SQL. Maybe that's just not be feasible.


pgsql-sql by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Rewrite without correlated subqueries
Next
From: tripplowe
Date:
Subject: Rewrite multiple joins...