From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joy Chuang <hxc0850@omega.uta.edu>
Cc: pgsql-sql@postgresql.org
Subject: Re: CREATE TABLE AS and ORDER BY
Date: Tue, 06 Feb 2001 11:05:15 -0500
Message-ID: <25163.981475515@sss.pgh.pa.us> (raw)
In-Reply-To: <3A7F5AF9.B23DF42F@omega.uta.edu>
References: <3A7F5AF9.B23DF42F@omega.uta.edu>
Joy Chuang <hxc0850@omega.uta.edu> writes:
> But, it returns error message "ERROR: parser: parse error at or near
> "order"". Does "create table as" support "order by" inside of it?
Evidently not.
> I am using PostgreSQL 6.5.3.
It seems to work in 7.0 and later.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, hxc0850@omega.uta.edu
Subject: Re: CREATE TABLE AS and ORDER BY
In-Reply-To: <25163.981475515@sss.pgh.pa.us>
References: <3A7F5AF9.B23DF42F@omega.uta.edu> <25163.981475515@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