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 1oQXyF-0005f6-3P for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Aug 2022 17:45:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oQXyD-0002fn-Us for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Aug 2022 17:45:45 +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 1oQXyD-0002fe-Ll for pgsql-hackers@lists.postgresql.org; Tue, 23 Aug 2022 17:45:45 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQXyB-0002ou-Jj for pgsql-hackers@lists.postgresql.org; Tue, 23 Aug 2022 17:45:45 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 27NHjc5s726613; Tue, 23 Aug 2022 13:45:38 -0400 From: Tom Lane To: Pavel Stehule cc: Andres Freund , Robert Haas , "Jonathan S. Katz" , Nikita Glukhov , PostgreSQL Hackers , Andrew Dunstan , Michael Paquier , John Naylor , Amit Langote Subject: Re: SQL/JSON features for v15 In-reply-to: References: <20220815223853.itrlpqgpqheg6r6a@awork3.anarazel.de> <225d341b-f310-eed0-ceff-b8ec61669d9f@postgrespro.ru> <20220816021425.5sa6gx67zmpou3bc@awork3.anarazel.de> <8d0ffc54-469a-ffab-68a3-8b547e24a08d@postgresql.org> <7d83684b-7932-9f29-400b-0beedfafcdd4@postgrespro.ru> <69022273-e7e3-6d1a-10f8-d1b4740e4b97@postgresql.org> <92cab50c-152b-84fc-fd49-12b936113a3d@postgresql.org> <20220823155511.ffyntlyjl6wrgljv@awork3.anarazel.de> <20220823172718.o4p25k2bcrmsnj3a@awork3.anarazel.de> Comments: In-reply-to Pavel Stehule message dated "Tue, 23 Aug 2022 19:38:35 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <726611.1661276738.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 23 Aug 2022 13:45:38 -0400 Message-ID: <726612.1661276738@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Pavel Stehule writes: > =C3=BAt 23. 8. 2022 v 19:27 odes=C3=ADlatel Andres Freund napsal: >> I think that's not true unfortunately. You can specify return types, an= d >> composite types can be populated. Which essentially requires arbitrary >> coercions. > Please, can you send an example? Maybe we try to fix a feature that is n= ot > required by standard. Even if it is required by spec, I'd have zero hesitation about tossing that case overboard if that's what we need to do to get to a shippable feature. regards, tom lane