Re: pl/pgsql create table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Masse Jacques <jacques(dot)masse(at)bordeaux(dot)cemagref(dot)fr>
Cc: "'Bruce Momjian'" <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: pl/pgsql create table
Date: 2002-08-27 17:02:25
Message-ID: 1912.1030467745@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Masse Jacques <jacques(dot)masse(at)bordeaux(dot)cemagref(dot)fr> writes:
> I find exactly the same with
> EXECUTE ''CREATE TABLE tmp as select foo'';

The CREATE is not the problem, it's the subsequent *references* to tmp
that all have to be wrapped with EXECUTE.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Link 2002-08-27 17:20:43 Screwy behavior with SUM and multiple joins to same table
Previous Message Masse Jacques 2002-08-27 16:50:10 Re: pl/pgsql create table