Re: select into vs. create as

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Oskar Stolc <stolc(at)intrak(dot)sk>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: select into vs. create as
Date: 2001-12-03 22:32:10
Message-ID: 19637.1007418730@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Oskar Stolc <stolc(at)intrak(dot)sk> writes:
> Are these two commands equivalent ?

Yes.

I recommend CREATE AS, though. plpgsql thinks that SELECT INTO
means something quite different, so you'll inevitably get confused
later on if you use SELECT INTO :-(

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message hodges 2001-12-04 01:15:05 postgres home directory
Previous Message Burra 2001-12-03 22:29:56 binary Tuples