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 1lLnl2-00019V-Pm for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Mar 2021 13:59:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lLnl1-0006NO-Pc for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Mar 2021 13:59:43 +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 1lLnhu-0002ga-Ud for pgsql-hackers@lists.postgresql.org; Mon, 15 Mar 2021 13:56:30 +0000 Received: from mail.thelabyrinth.net ([45.56.70.56]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLnhs-0006nF-PM for pgsql-hackers@postgresql.org; Mon, 15 Mar 2021 13:56:30 +0000 Received: from desktop.home.thelabyrinth.net (c-73-39-102-148.hsd1.md.comcast.net [73.39.102.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dsteele) by mail.thelabyrinth.net (Postfix) with ESMTPSA id 77EF954664; Mon, 15 Mar 2021 13:56:26 +0000 (UTC) Subject: Re: dynamic result sets support in extended query protocol To: Peter Eisentraut , pgsql-hackers Cc: Andres Freund References: <6e747f98-835f-2e05-cde5-86ee444a7140@2ndquadrant.com> <20201009184625.4hfgpcxzd6jfredb@alap3.anarazel.de> From: David Steele Message-ID: Date: Mon, 15 Mar 2021 09:56:25 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Peter, On 12/30/20 9:33 AM, Peter Eisentraut wrote: > On 2020-10-09 20:46, Andres Freund wrote: >> Is there really a good reason for forcing the client to issue >> NextResult, Describe, Execute for each of the dynamic result sets? It's >> not like there's really a case for allowing the clients to skip them, >> right?  Why aren't we sending something more like >> >> S: CommandPartiallyComplete >> S: RowDescription >> S: DataRow... >> S: CommandPartiallyComplete >> S: RowDescription >> S: DataRow... >> ... >> S: CommandComplete >> C: Sync > > I want to post my current patch, to keep this discussion moving. CFBot reports that tests are failing, although the patch applies. Also, you dropped all the driver authors from the thread. Not sure if that was intentional, but you might want to add them back if you need their input. Regards, -- -David david@pgmasters.net