Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Oskar Stolc <stolc(at)intrak(dot)sk> writes:
> Are these two commands equivalent ?


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

pgsql-novice by date

Next:From: hodgesDate: 2001-12-04 01:15:05
Subject: postgres home directory
Previous:From: BurraDate: 2001-12-03 22:29:56
Subject: binary Tuples

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group