Re: [HACKERS] Agregates in update?

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: vadim@sable.krasnoyarsk.su (Vadim B. Mikheev)
Cc: postgres@luckynet.co.il, pgsql-hackers@postgreSQL.org, pgsql-questions@postgreSQL.org
Date: 1998-04-27T13:25:37Z
Lists: pgsql-hackers
> 
> Bruce Momjian wrote:
> > 
> > Added to TODO list.
> > > update a set sum=sum(b.val) where name=b.name ;
> 
> Is this in standards ???
> I thought that subselects should be used in such cases...
> And this is one of my plans for 6.4...

No, not standard, but either need to dis-allow it, or make it work properly.

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)