Re: table variables

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Sim Zacks <sim(at)compulab(dot)co(dot)il>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: table variables
Date: 2006-05-18 11:13:13
Message-ID: 20060518111313.GA4359@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, May 18, 2006 at 01:16:02PM +0200, Sim Zacks wrote:
> What I am trying to do is write a multi step query, where it would be
> much much much more efficient to create a temp table, so a single insert
> and then populate it with update statements.
> The problem is that you can't use a temp table in functions without
> dynamic execute statements, and those don't work for other parts of the
> code (besides the fact that they're confusing).

I'm thinking that we should just make temp tables work normally in
functions. Needs no new syntax and is what people expect anyway.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sim Zacks 2006-05-18 11:16:02 table variables
Previous Message Ivan Zolotukhin 2006-05-18 11:04:08 statement_timeout and pg_dump