Re: UPDATE syntax

From: David Greco <David_Greco(at)harte-hanks(dot)com>
To: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: UPDATE syntax
Date: 2012-11-30 14:42:11
Message-ID: 187F6C10D2931A4386EE8E58E13857F612931116@BY2PRD0811MB415.namprd08.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>David Greco wrote:
>[wants to use CTEs in an UPDATE]

>> Yeah that's good, but there are plenty of columns, was hoping to be
able to use (table.*) syntax

>Is this a problem or do you just want to type as little as possible?
>You have to specify them in the SET clause anyway.

No problem, just looking to be a bit lazy, and avoid the potential for copy-paste errors and such.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message François Beausoleil 2012-11-30 14:44:15 When is archive_cleanup called?
Previous Message Albe Laurenz 2012-11-30 14:16:15 Re: difference in query performance due to the inclusion of a polygon geometry field