Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tKupb-00BWuW-7s for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Dec 2024 07:38:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tKupY-000PE7-Ln for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Dec 2024 07:38:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tKupY-000PDt-BM for pgsql-hackers@lists.postgresql.org; Tue, 10 Dec 2024 07:38:53 +0000 Received: from fout-a3-smtp.messagingengine.com ([103.168.172.146]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tKupS-0021zi-UJ for pgsql-hackers@lists.postgresql.org; Tue, 10 Dec 2024 07:38:52 +0000 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfout.phl.internal (Postfix) with ESMTP id 14C7B1383A86; Tue, 10 Dec 2024 02:38:46 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Tue, 10 Dec 2024 02:38:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1733816326; x=1733902726; bh=E7Si7Do9b2 vnHZa+FwYTEWBlAj+uByiQz16njkS+0HA=; b=a9NBlgZPM7jVF1OWYYsWRbGz++ Kr3N1j7N6fINjZNlTip9fcaF3l4CIQxXAlpaFMp2IS7XjaQTZXc7/1hoaTfrIiyU q27dN437zK3DqBeGJ1nYroNE+QrHg6Df9PgdpZ91pO1KNv6rYZizWgL8TYFhe2Hc CuwnK6JZTtdx2ok/UwlKWc1SNr1dqBg1/RBAiDNZAN3nySQnxiwUXnNmIjAmEHlF Sj61Kg7Ef0gsAPESVds5EdxbsmeFLwvS9YPmQObqxLNxdSokO1SQPXyyCj7atofv o9Z/8hHO9Eaa4T2hqvDG81qb9T/i3BhjlmuTywqE5AQUsr83RutPVOY2wi9A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1733816326; x=1733902726; bh=E7Si7Do9b2vnHZa+FwYTEWBlAj+uByiQz16 njkS+0HA=; b=EBIB0GCh22tKmhgyUeTbBIO+CbknbL89+u5mITr3HcBj2+IQsNV sW6Tb709Gsv9DnrK2/k/Z/+7du7NyR7A7g36nUHdZX5w6uQIMEGM9T6WO7twF9Fi NLgM2B6/dW9aKhOonLJELGDXQhXJ7REY/Qqxo1Ygdf9bzzxmSEX5ngNs0RW8066X uPMy/XOCvp22EDUpBhryrEtXD4fKhdk5vkU8vx03fhj5HfxhC/6tjIjeEXdO+eGc GnwgRzp7HY9tceBdsiSyYD/H6Ia/R2j3IswzKj1HxIPBD/OPRx1RFouF0zpb4o4X qSaWehsIezc4R5NdXEYQY372JX9zlziUrcg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrjeejgdduudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnegfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhf gggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruc eomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteel ieefudffhffhtdetleeggeegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhes phgrqhhuihgvrhdrgiihiidpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouh htpdhrtghpthhtohepmhgsrghntghksehgmhigrdhnvghtpdhrtghpthhtohephhhtrghm fhhiughssehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsh eslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 10 Dec 2024 02:38:44 -0500 (EST) Date: Tue, 10 Dec 2024 16:38:24 +0900 From: Michael Paquier To: Michael Banck Cc: Greg Sabino Mullane , PostgreSQL Hackers Subject: Re: [PATCH] Add support for displaying database service in psql prompt Message-ID: References: <6723c612.050a0220.1567f4.b94a@mx.google.com> <6748cfd4.050a0220.1537dc.43bb@mx.google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="p40vq9a5J5QLTc0V" Content-Disposition: inline In-Reply-To: <6748cfd4.050a0220.1537dc.43bb@mx.google.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --p40vq9a5J5QLTc0V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 28, 2024 at 09:17:23PM +0100, Michael Banck wrote: > Hi, >=20 > On Tue, Nov 19, 2024 at 07:47:58PM -0500, Greg Sabino Mullane wrote: > > Compiled and tested: works fine, so +1 from me. Honestly, I was surpris= ed > > %s was still available. :) >=20 > Thanks. Was that full review? You kept the commitfest item in "Needs > Review" state. No objections to this proposal, that can be useful. No objections with the use of 's' for the shortcut in the psql prompt. Back to your patch, you are missing two things at quick glance: - Documentation for the new libpq API in 0001. - Documentation for the new SERVICE and its new %s (see section called "Prompting" on the psql page. So please make sure to provide these with the next version of the patch. -- Michael --p40vq9a5J5QLTc0V Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmdX7/AACgkQnvQgOdby QH3yJA//T97AfRfyL0V9UfuCoYnFEVUVnvdIUjCi+pj1qvYTPUxr+ktWS2NyOaop RqJT5i/b7DMSW9MHq3S+7QOPfMGGixCf31kWPndn3jane9QU7xqB48/GEqT3dAnj d5QRIDumeOnF7XXb6uQPO4ahrOxCwPQbktJ7+5jhNMg9raJH+NbgACqH918nGanS IyWxpPmt1qDCBHh5ncv7MT3p7LWfSAvDrQJb7tzB+tpX3SB+whHWLgPxv3ZmzSEw QZnXIc4yvcVCp3syZzIYGD8dQbnu+aBaG0+YE8QlX1jwcXkWNlG8Vve6ZdgIvkv0 7H9OMLmHL9G/yBtqbHWRGtckKUOVEtu+JKohd/vitJoQ6rwF7WOOHVfbxUFGstPs yZQLDfmCG9rhcZlwR/sgNKu9pkKzCllS7UYYDA3q7mLtWcRTiyRNRT7EHFdXIiuL 32UtvWpcZMGwSTxT/mkkAJl+mlI5iL01W4E5941lh8m0pM7r5HAt9bYaTWnzuWJ4 +XpYYoNLIWyXEOQZB0duD6pJ4oTe14zs70gieVbRZmuY7bTYxuAey74I+XT9OUip +oClxUxmLPsHxkWcNQVdIuJ2uV+TNhpsD7CC0tO5P/53AoPr/gTo0LeST7ckvLk1 F7cFNvdDEqTcXh3osmCXPpb56XO4WmNEqpy3zbQVys7l0tOvkME= =2aId -----END PGP SIGNATURE----- --p40vq9a5J5QLTc0V--