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 1lFAmM-0000nU-7G for pgsql-docs@arkaria.postgresql.org; Thu, 25 Feb 2021 07:09:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lFAmK-0000H4-4G for pgsql-docs@arkaria.postgresql.org; Thu, 25 Feb 2021 07:09:40 +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 1lFAmJ-0000Gx-UX for pgsql-docs@lists.postgresql.org; Thu, 25 Feb 2021 07:09:39 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lFAmH-00007T-Lx for pgsql-docs@lists.postgresql.org; Thu, 25 Feb 2021 07:09:39 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 678C85C00DF; Thu, 25 Feb 2021 02:09:36 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 25 Feb 2021 02:09:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=0W/JclX9ZkPBKO6Ka5dzYKsnv1k 514/TZp2h6mA071o=; b=EGdQygb6YP305M3EnxSBlJk9I2qDctEKw8fAxmvgz0i sQeyyTDtBZ/JH6GBZ7bz9ZYWg+VuHajQRWUKYfcjC4T8oo39HXlq9j9k/Jj8s3a8 nkA+16rDjLffsfuANyGaoK/4Ei0ap++AIHmkpgxrt86yUXXpLGsS0gVrTbd0NeVB pS/tnTNah902j3doRX0PBSAZwW0pVRGsVEBe4K5utGqimgD6qih8Prp1+VQDlBlx JquToISL36zJCc6PjIDoJXzwNz/5hsr+7AOM2Ne/UvrBFpS7d52YsrgnxdUREM3J PKQJIEnA1OoN8Ettw1k/f13a6B1eHZvwQWJKNxMCp8Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=0W/Jcl X9ZkPBKO6Ka5dzYKsnv1k514/TZp2h6mA071o=; b=mvWAgHoSnVbK7inuSvPJOy SiKJWy5fncYpeg/LqLvogBlqcDpNKx/zMfQuO3AcN4eF+P/ApmXRy/BIjHBXVu/N Ey2gcxU7dcAgmv+f0brqcLuSlVooGLJiBP+zDicrYHUdqv3GpHiqvYb/x+NwUfQj 94Ok09Y5WZ52n0sGD8h7aZITDwAElZZMPziCu8W3x0w8Vq2E+DlGnIAffOCbvqFX 0jvRabH8OCgnrD/tR6Z17bjw73fYUgrkKIdZWvu/hDdzl5/OdNLDlGwMUKUGaIQb rn1FEATT4R9pTdl9ITKcSC6vNNxleElKZSEkdX/vi7NKZcIkTsAHNcA0NyTctIeg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrkeekgddutdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpeffhf fvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhu ihgvrhcuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrh hnpedvgeduuefhtdeuleettdevjeehheeiveeuieegleetgeeljeelieeuieehgeevhfen ucfkphepudduuddruddtvddrudektddrudekheenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 831671080064; Thu, 25 Feb 2021 02:09:34 -0500 (EST) Date: Thu, 25 Feb 2021 16:09:31 +0900 From: Michael Paquier To: christophe.courtois@dalibo.com, pgsql-docs@lists.postgresql.org Subject: Re: pgbench: supports PGDATABASE / warning about -d Message-ID: References: <161399398648.21711.15387267201764682579@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dH1pXWB4CwXUjenE" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --dH1pXWB4CwXUjenE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Feb 24, 2021 at 02:29:31PM +0900, Michael Paquier wrote: > Yeah, let's fix that. Adding only PGDATABASE to the list of > environment variables supported does not look enough to me, so I > propose the simple patch attached to clarify what happens to dbname in > more details. Applied this one as of 9e9b5c0. 5aaa584 is the original change that updated the doc of pgbench to mention all the supported environment variable, so this has been backpatched down to 12. -- Michael --dH1pXWB4CwXUjenE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmA3TSsACgkQnvQgOdby QH0KLxAAnJCFv/TB202m83Kln/w5a1hP8e7qkm5pn/YFyNDhHRx00AX2KG5ZnDi+ P/s0ZNIIdv8YSODsPXJy4UVUmtmBcoylxP8ruYwtgF6AAd64Z7Ap6H0eoUDpFkoV FHiSCLlnRlZuWhRdloAI1GnDbhgbhHvGqRq2fCvkCuZdNr4rYldqDtv1LVH9PmJW HFs19NruJj/bjlS1lGLLq2jjRy51gUonMWPk8O/7zF8kupr+7QXBRYzn/aWxv5/B y6gjUCcP8e3FDlixsm2fcN8lGkvCHTjYU9SS9axhe/YsFBJbiN8l0/zTumjw922s 1BSZQRcNUMcVsm6vb2nw76n0csb6NqRID8aY87Z0nm8gqIvGRkGYiuB4oofB4gJB eLJ57XghN6PcLQ/ZHoMIJBjPDpdo4YUjrEtwAE1RIwm3W+v/EuLMGqRj2Hzsdoxd IUfPP63gGXU8wntHcsFoto9QDXHn0qOp8228bwSCVVId3tubEVrxWGm5ILW6Kq9L 4hngy7MxoFwQzBbHhRBchi9pgT4jS6popcVId1uJAzAXzx0gbDv3P+qRAUStlUjn rNWtWZY4LC/82hHx5H5X3wwEt7wFDhpzfGT5e1C/oz+3FFTGXPgePvu9ZWKEUMmG /iXzlPYNaBWYcihVRZxKgiuCbhqU4zZ5KvpJTi/veS8olqWBixQ= =Yryu -----END PGP SIGNATURE----- --dH1pXWB4CwXUjenE--