pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Niall Smart <niall.smart@ebeon.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Something I'd like to try...
Date: Tue, 03 Oct 2000 00:29:17 -0400
Message-ID: <16699.970547357@sss.pgh.pa.us> (raw)
In-Reply-To: <200010030322.XAA05358@candle.pha.pa.us>
References: <200010030322.XAA05358@candle.pha.pa.us>

Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Can someone comment on this?
>> 
>> I just noticed that postgres doesn't totally support
>> column aliases on UPDATE statements, for example

The SQL92 spec very clearly does not allow an alias on the target table:

         13.10  <update statement: searched>

         <update statement: searched> ::=
              UPDATE <table name>
                SET <set clause list>
                [ WHERE <search condition> ]

While I'm willing to consider variations from the spec that add
significant functionality, this proposed addition adds no functionality
worth noticing.  It'd just be another way to trip yourself up when
moving across DBMSes.

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <16699.970547357@sss.pgh.pa.us>
Permalink:  ../16699.970547357@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16699.970547357@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 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, pgman@candle.pha.pa.us, niall.smart@ebeon.com
  Subject: Re: Something I'd like to try...
  In-Reply-To: <16699.970547357@sss.pgh.pa.us>
  References: <200010030322.XAA05358@candle.pha.pa.us> <16699.970547357@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