Re: Strange result with LATERAL query - Mailing list pgsql-hackers

From Andrew Gierth
Subject Re: Strange result with LATERAL query
Date
Msg-id 87a8g2b0p6.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Re: Strange result with LATERAL query  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Strange result with LATERAL query  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:
Tom> Hm, I was just working on inserting something of the sort intoTom> ExecInitAgg.  But I guess we could do it in the
plannertoo.  WillTom> run with your approach.
 
Tom> I think it's a bit too stupid as-is, though.  We don't need toTom> recalculate for Params in aggdirectargs, do
we?

In theory we would need to. But in practice we don't, because we don't
allow ordered aggs in AGG_HASHED mode anyway.

We could skip filling in aggParam at all if not in AGG_HASHED mode I
guess.

-- 
Andrew (irc:RhodiumToad)



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [Patch] Temporary tables that do not bloat pg_catalog (a.k.a fast temp tables)
Next
From: Tom Lane
Date:
Subject: Re: Strange result with LATERAL query