From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Niall Smart <niall.smart@ebeon.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Something I'd like to try...
Date: Mon, 2 Oct 2000 23:22:58 -0400 (EDT)
Message-ID: <200010030322.XAA05358@candle.pha.pa.us> (raw)
In-Reply-To: <3940D29E.1B4B6B8D@ebeon.com>
Can someone comment on this?
> Hi,
>
> I just noticed that postgres doesn't totally support
> column aliases on UPDATE statements, for example
>
> UPDATE EMPLOYEES SET
> OFFICE_PHONE = UU.OFFICE_PHONE,
> MOBILE_PHONE = UU.MOBILE_PHONE,
> OFFICE_CD = UU.OFFICE_CD,
> ABOUT_ME = UU.ABOUT_ME
> FROM
> UNCONFIRMED_UPDATES UU
> WHERE
> EMPLOYEES.EMPLOYEE_ID = UU.EMPLOYEE_ID AND
> UU.UPDATE_ID = 'HJhjaJ023J19KJAqp'
>
> It is not currently possible to alias EMPLOYEES
> so that the test can become
>
> E.EMPLOYEE_ID = UU.EMPLOYEE_ID
>
> Do the guru's think that this would be hard to add? Also,
> is it desirable?
> --
>
> Niall Smart
>
> email: niall.smart@ebeon.com
> phone: (087) 8052390
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
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: pgman@candle.pha.pa.us, niall.smart@ebeon.com
Subject: Re: Something I'd like to try...
In-Reply-To: <200010030322.XAA05358@candle.pha.pa.us>
References: <3940D29E.1B4B6B8D@ebeon.com> <200010030322.XAA05358@candle.pha.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