Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j5Z07-0006Tr-Ef for pgsql-hackers@arkaria.postgresql.org; Sat, 22 Feb 2020 17:55:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j5Z06-00065m-5o for pgsql-hackers@arkaria.postgresql.org; Sat, 22 Feb 2020 17:55:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j5Z05-00065f-TF for pgsql-hackers@lists.postgresql.org; Sat, 22 Feb 2020 17:55:37 +0000 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j5Yzz-0005D4-Mm for pgsql-hackers@postgresql.org; Sat, 22 Feb 2020 17:55:37 +0000 Received: by mail-pg1-x531.google.com with SMTP id 7so624909pgr.2 for ; Sat, 22 Feb 2020 09:55:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=PIFeG7WmI1fDcOjEgOT1RDIIeFhunEwzADxpSQyLvjI=; b=YZl77FNzwEWnVer5lCReGUAXRUcm6+gbUhP33yHAHLjumEdPDGQ6SZkPKNHeigjv7I Wi8ATTRxkgv0nhmwQqM5Ro2MijoRxr3fPOmAvkOaxjrsT2outZ72oHbHqFLIuqZNFQ1A 42+QiC1yZkvtt0EA1VEqM/+Q5FBZyA6XNrchgkez2JCGau4Vp4eAFifz9/17hTBo3AXt yveRlQ+N9OWtvmEphJh3qS3gJ3QO8psixz5x9ZO/zItKifq8BoW0q3FBboCgC9nT/8al fdXlJSen30b/raVU3v6AmG4k9RyFVoxGTq36IGU/VNY9aBPbaw2DL07uLrkDxtpsp/NM iETw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=PIFeG7WmI1fDcOjEgOT1RDIIeFhunEwzADxpSQyLvjI=; b=r74HXJOiBDdkSO6jV+8n6SKkNhuRHQCafTXWmtnx3hgHykEvqPGWGCJETiujqaUnc7 B933/UuxKJZYStpp+wsQ8/TX6jninb8nCDmoAlWtha2c05nyFbz9hEIrpws01AfEdUIw M6tC7Vk1s5qxHrFY7AzZqjRYgindi+ZktcY886Yj3nKDmXR4BJ2zSDdA4Aubmj+jMV9+ /PduAZkq7GSg1t7hF425n58N+R+XF5pHrJGmeILSoeFpWi5slwOcq/MARNTesFDgYi4f LNwJuZre+AcN+YMlRC6vswAdbmyH7kvv9pJnU4jie58bdiC9P/iNT49ZJ9Y0CuUC9sso lOeA== X-Gm-Message-State: APjAAAUn0o8reVFGShdESGH23DivUVkM9xf1kqXBsAXxQYi4+qIHZUQQ TbyN7M/rrqQd7ftfZTFnwYagww== X-Google-Smtp-Source: APXvYqzleyUJfU0IYMHjeUueGHMiTQq2Bvyn4khdCZYzYgJRepi8ZxNIhfv+tcZVx0VnIIc8jJHYkw== X-Received: by 2002:aa7:9f90:: with SMTP id z16mr44767504pfr.161.1582394129401; Sat, 22 Feb 2020 09:55:29 -0800 (PST) Received: from jdavis.lan (c-73-231-146-4.hsd1.ca.comcast.net. [73.231.146.4]) by smtp.gmail.com with ESMTPSA id z19sm6894515pfn.49.2020.02.22.09.55.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 22 Feb 2020 09:55:28 -0800 (PST) Message-ID: <9759ab2d0c2c28a175e11efe1788d37dc7e1b768.camel@j-davis.com> Subject: Re: Memory-Bounded Hash Aggregation From: Jeff Davis To: Andres Freund , Tomas Vondra Cc: Melanie Plageman , Heikki Linnakangas , Taylor Vesely , Adam Lee , Melanie Plageman , Pg Hackers Date: Sat, 22 Feb 2020 09:55:26 -0800 In-Reply-To: <20200221202212.ssb2qpmdgrnx52sj@alap3.anarazel.de> References: <20190802152123.ichmacgx3y3x7dc3@development> <20191214173225.3kzsbncr6brpxdll@development> <775d754c-9a61-5363-6998-f87d15f1b592@iki.fi> <20200218185749.srk733n4z57lzxf2@development> <7612ea4d636b6341d0606f4e852d584798e04901.camel@j-davis.com> <20200219191636.gvdywx32kwbix6kd@development> <20200221202212.ssb2qpmdgrnx52sj@alap3.anarazel.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, 2020-02-21 at 12:22 -0800, Andres Freund wrote: > I'd also like to apply something like 0013 from that thread, I find > the > whole curperagg, select_current_set, curaggcontext logic confusing as > hell. I'd so far planned to put this on the backburner until this > patch > has been committed, to avoid breaking it. But perhaps that's not the > right call? At least for now, I appreciate you holding off on those a bit. Regards, Jeff Davis