Re: request for sql3 compliance for the update command

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: request for sql3 compliance for the update command
Date: 2005-05-10 06:37:21
Message-ID: 873bsvsi1q.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> UPDATE totals SET
> xmax = ss.xmax, xmin = ss.xmin, ...
> FROM
> (SELECT groupid, max(x) AS xmax, ... FROM details GROUP BY groupid) ss
> WHERE groupid = ss.groupid;
>
...
>
> Of course this syntax isn't standard either ... but we already have it.

Did this patch ever make it in? It's not documented in the 8.0 documentation
for UPDATE at:

http://www.postgresql.org/docs/8.0/interactive/dml-update.html

--
greg

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nicolai Petri 2005-05-10 07:36:59 Adding callback support.
Previous Message Greg Stark 2005-05-10 06:00:49 Re: Table Partitioning, Part 1