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 1osnlh-0008TX-1i for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Nov 2022 16:17:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1osnlf-0007NN-KD for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Nov 2022 16:17:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1osnlf-0007LL-As for pgsql-hackers@lists.postgresql.org; Wed, 09 Nov 2022 16:17:35 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1osnld-0000ar-4p for pgsql-hackers@postgresql.org; Wed, 09 Nov 2022 16:17:34 +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 2A9GHTxU3993443; Wed, 9 Nov 2022 11:17:30 -0500 From: Tom Lane To: Yugo NAGATA cc: pgsql-hackers@postgresql.org, "David G. Johnston" , Bruce Momjian Subject: Re: BUG #17434: CREATE/DROP DATABASE can be executed in the same transaction with other commands In-reply-to: <20221109190114.b820cb610cbc23d5ec281eb8@sraoss.co.jp> References: <17434-d9f7a064ce2a88a3@postgresql.org> <3190751.1657845414@sss.pgh.pa.us> <3498921.1657919211@sss.pgh.pa.us> <805866.1658175624@sss.pgh.pa.us> <2350990.1658848101@sss.pgh.pa.us> <2356216.1658849834@sss.pgh.pa.us> <2361330.1658851386@sss.pgh.pa.us> <2363212.1658852059@sss.pgh.pa.us> <20220728105134.d5ce51dd756b3149e9b9c52c@sraoss.co.jp> <3214515.1658976655@sss.pgh.pa.us> <20220809002102.b815cd4dad20fdc91dff5ce8@sraoss.co.jp> <20220930102342.852ad903b9c0418048c07fe5@sraoss.co.jp> <3032689.1667757257@sss.pgh.pa.us> <20221109190114.b820cb610cbc23d5ec281eb8@sra! oss.co.jp> Comments: In-reply-to Yugo NAGATA message dated "Wed, 09 Nov 2022 19:01:14 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3993441.1668010649.1@sss.pgh.pa.us> Date: Wed, 09 Nov 2022 11:17:29 -0500 Message-ID: <3993442.1668010649@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Yugo NAGATA writes: > Tom Lane wrote: >> What do you think of the attached wording? > It looks good to me. That describes the expected behaviour exactly. Pushed that, then. >> I don't think the pipeline angle is of concern to anyone who might be >> reading these comments with the aim of understanding what guarantees >> they have. Perhaps there should be more about that in the user-facing >> docs, though. > I agree with that we don't need to mention pipelining in these comments, > and that we need more in the documentation. I attached a doc patch to add > a mention of commands that do internal commit to the pipelining section. > Also, this adds a reference for the pipelining protocol to the libpq doc. Hmm ... I don't really find either of these changes to be improvements. The fact that, say, multi-table ANALYZE uses multiple transactions seems to me to be a property of that statement, not of the protocol. regards, tom lane