Re: insert aliases? - Mailing list pgsql-general

From Csaba Nagy
Subject Re: insert aliases?
Date
Msg-id 1048002464.1058.7.camel@coppola.ecircle.de
Whole thread Raw
In response to Re: insert aliases?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
> "Wayne Armstrong" <wdarmst@bacchus.com.au> writes:
> > It seems that postgress doesn't accept aliases for the tablename in updates,
> > inserts, and deletes as it does do for selects ????
>
> Nope, and neither does the SQL standard ...
>
But it would be VERY useful for the UPDATE command... Postgres has that
nice extension of multi-table where clause for updates, but it can be
confusing when you want to specify the updated table for a self-join.
Being able to alias the updated table too would make things cleaner.

Cheers,
Csaba.



pgsql-general by date:

Previous
From: u15074
Date:
Subject: Causes an insert into a table with a unique column a tablelock or a rowlock?
Next
From: Dennis Gearon
Date:
Subject: Re: MS SQL 2K replication/backup