Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pUkvw-00054L-49 for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Feb 2023 08:57:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pUkvu-0005Pm-UK for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Feb 2023 08:57:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pUkvu-0005Pc-Jo for pgsql-hackers@lists.postgresql.org; Wed, 22 Feb 2023 08:57:02 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pUkvr-0000GF-Ov for pgsql-hackers@lists.postgresql.org; Wed, 22 Feb 2023 08:57:01 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 594B858202A; Wed, 22 Feb 2023 03:56:58 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 22 Feb 2023 03:56:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1677056218; x= 1677063418; bh=s953bTXQaRrAvb7nEFYD/BF60eol9z+QuGrfqTnBEiU=; b=r kFGYmKvGCLKCrKLmxWMLgHl/iffXuVSao9jdAKHFqp3BT9jqOZiwqgZcNTMKhIsc lSfuYl0RhExCneth2JAO05wsm6DJfguypqIQcqe3pidfnV2kHsiflW9761tF419M c5Q5I2qg8tsupNtQmblUJQvtAuKPdByBLHjdD7Su2MBkOnqApXH27zjZOq4kz89I w1zEhnlfTAvdD5LoRw8XI+wcbWogHEMyINXJHS7swxvCFHpInLLFQawPoAtKS2ml m+kc3EGRtBOrA8B4ksjgSepOcoMTV6rNc8ZVlKAx2CEPydz3+SDLxLvfn3Ci4LT+ 4BjP8Y45zdDAb7YX3WvzA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudejkedguddvfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttdefjeenucfhrhhomheprfgv thgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsegvnh htvghrphhrihhsvggusgdrtghomheqnecuggftrfgrthhtvghrnhephfejudeuleefheeu tddufeetjeevgeeiieeujeeuheefkedttdeuieeiieethfevnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgr uhhtsegvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 22 Feb 2023 03:56:57 -0500 (EST) Message-ID: <36c2ad45-e1d1-e024-f52d-2c11b8cb8e7a@enterprisedb.com> Date: Wed, 22 Feb 2023 09:56:56 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: ANY_VALUE aggregate Content-Language: en-US To: Vik Fearing , David Rowley Cc: PostgreSQL Hackers References: <5cff866c-10a8-d2df-32cb-e9072e6b04a2@postgresfriends.org> <464ece4e-fabb-ddac-60da-897493c4476d@enterprisedb.com> <538ac95d-f12e-92b8-0e22-85b6e35fdec9@postgresfriends.org> <15c31fa6-b84a-8705-f5a2-987d165a89db@postgresfriends.org> From: Peter Eisentraut In-Reply-To: <15c31fa6-b84a-8705-f5a2-987d165a89db@postgresfriends.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 09.02.23 10:42, Vik Fearing wrote: > v4 attached.  I am putting this back to Needs Review in the commitfest > app, but these changes were editorial so it is probably RfC like Peter > had set it.  I will let you be the judge of that. I have committed this. I made a few small last-minute tweaks: - Changed "non-deterministic" to "arbitrary", as suggested by Maciek Sakrejda nearby. This seemed like a handier and less jargony term. - Removed trailing whitespace in misc.c. - Changed the function description in pg_proc.dat. Apparently, we are using 'aggregate transition function' there for all aggregate functions (instead of 'any_value transition function' etc.). - Made the tests a bit more interested by feeding in more rows and a mix of null and nonnull values.