pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alfonso Peniche <alfonso@iteso.mx>
Cc: pgsql-general@postgresql.org
Subject: Re: Re: temp table creation
Date: Thu, 15 Feb 2001 10:35:58 -0500
Message-ID: <2395.982251358@sss.pgh.pa.us> (raw)
In-Reply-To: <3A8BF521.BDE3BC69@iteso.mx>
References: <3A8B2C47.465BBF9@iteso.mx>
	<440.982202091@sss.pgh.pa.us>
	<3A8BF521.BDE3BC69@iteso.mx>

Alfonso Peniche <alfonso@iteso.mx> writes:
> In that case, how could I create a temporary table from plpgsql?

CREATE [TEMP] TABLE foo AS SELECT ...

This is equivalent to SELECT INTO [TEMP] foo in regular SQL, and
does not change meaning in plpgsql.

			regards, tom lane



view thread (10+ messages)  latest in thread

Message-ID: <2395.982251358@sss.pgh.pa.us>
Permalink:  ../2395.982251358@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2395.982251358@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, alfonso@iteso.mx, pgsql-general@postgresql.org
  Subject: Re: Re: temp table creation
  In-Reply-To: <2395.982251358@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox