Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Agregates in update?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: vadim(at)sable(dot)krasnoyarsk(dot)su (Vadim B(dot) Mikheev)
Cc: postgres(at)luckynet(dot)co(dot)il, pgsql-hackers(at)postgreSQL(dot)org, pgsql-questions(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Agregates in update?
Date: 1998-04-27 13:25:37
Message-ID: 199804271325.JAA02578@candle.pha.pa.us (view raw or flat)
Thread:
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(at)candle(dot)pha(dot)pa(dot)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)

In response to

pgsql-hackers by date

Next:From: Bruce MomjianDate: 1998-04-27 13:27:00
Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Previous:From: Michael MeskesDate: 1998-04-27 11:56:55
Subject: initdb problem and operator question

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group