Re: join from array or cursor

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sam Mason <sam(at)samason(dot)me(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: join from array or cursor
Date: 2009-08-21 16:05:51
Message-ID: 5174.1250870751@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sam Mason <sam(at)samason(dot)me(dot)uk> writes:
> ... PG should instead arrange that the expression
> "t" is run exactly once and reuse the single result for all columns.

We might be able to do that based on the row-returning-subselect
infrastructure being discussed over here:
http://archives.postgresql.org/message-id/4087.1250867036@sss.pgh.pa.us
Don't hold your breath though ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-08-21 16:07:02 Re: Out of memory on pg_dump
Previous Message Andrus Moor 2009-08-21 15:54:51 Error inserting data to bytea column in 8.4