From: Tom Lane <tgl@sss.pgh.pa.us>
To: Josh Berkus <josh@agliodbs.com>
Cc: mbenzid@yahoo.de
Cc: pgsql-sql@postgresql.org
Subject: Re: Why can't I .........
Date: Tue, 07 Aug 2001 14:29:56 -0400
Message-ID: <8886.997208996@sss.pgh.pa.us> (raw)
In-Reply-To: <web-98036@davinci.ethosmedia.com>
References: <web-98036@davinci.ethosmedia.com>
"Josh Berkus" <josh@agliodbs.com> writes:
>> -- use labels to name columns in this way
>>
>> ... select col1 userid, col2 name from ... (instead of using AS)
> Because AS is the ANSI SQL 92 standard. And we like standards.
Actually, SQL92 says that AS is optional. However, Postgres contains a
lot of extensions to SQL92, and some of them produce parse ambiguities
if AS is optional. So we require it. This isn't going to change, as
it would require ripping out a lot of useful stuff.
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, josh@agliodbs.com, mbenzid@yahoo.de
Subject: Re: Why can't I .........
In-Reply-To: <8886.997208996@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