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 1uOjBo-009yFN-Ks for pgsql-hackers@arkaria.postgresql.org; Mon, 09 Jun 2025 20:33:52 +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 1uOjBm-00D8tB-MY for pgsql-hackers@arkaria.postgresql.org; Mon, 09 Jun 2025 20:33:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uOjBm-00D8t2-DA for pgsql-hackers@lists.postgresql.org; Mon, 09 Jun 2025 20:33:51 +0000 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1uOjBk-0018Jk-2t for pgsql-hackers@postgresql.org; Mon, 09 Jun 2025 20:33:49 +0000 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfout.phl.internal (Postfix) with ESMTP id 54338138053B for ; Mon, 9 Jun 2025 16:33:48 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Mon, 09 Jun 2025 16:33:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ilmari.org; h=cc :content-transfer-encoding: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=fm3; t=1749501228; x=1749587628; bh=CcV+9x5iU+w9BAbj8DylQKVnQ3worbpEz5L6xW+MKfk=; b= LiTb+5hwcYFjNN9cVEA9oxiu7Cvf65rPdoJYnYH79WX2qPY9R1uRHmIlyaMFw2kZ y2MNu2qZz6D5bglZM2dxo5hYm9r3qogyJbsmBFglb/bUacTQBvQzJRS4lNNDL+0E qWAIvztvOKm/G2ENnrGS/gaNscHG9H2oqfiCXOnSCXgjn56ApRosjJYufTouBgFc 8fTd/3OJdOw2v9/JU0Cy+u81LRH62PuD+KQ3yNN2V+DJDbmufO0ZDCpb8dxenAlB qNHN0E+u5ZYW9KxqZ1vBkeftVNuWCtLQqG3GNbrGm2H1DoB1TsG2ZxKpUocQrPam 5pbgBJrGjyRrVPZqgSUr1g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=1749501228; x=1749587628; bh=C cV+9x5iU+w9BAbj8DylQKVnQ3worbpEz5L6xW+MKfk=; b=O0u0qDgvgXAzTja+D icUgfPBs9DX7OXcqtG7YxQE1q1ANL+ENP1yZ68+NUJv8L9ATqAscT7d27K536YN2 mlLuj/1/AtCmqCZDHxTRQhxrJLKpbej1+Vt6q5mkk/xkxTi6gPGax05LYQEH/toB dprEwyQhAfW5eWmu8CMd06UYK6FQttKYwL+jtzcW9iSBoCQvJZF8FaFbVLkGpCp5 4u2LYylRhp7FONXWWZPiEYWuchBL1Csfs1AWPWokKYMgXM/6ugy4VZ9ZvoO1Xzab fhZNLUNJcKy6KaVLZ5PUrR8F3XrffbhjuCM37O96MibPucSSHaiEUJT5xvcUnT/W grKmg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddugdeljeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufh ffjgfkfgggtgfgsehtkeertddtreejnecuhfhrohhmpeffrghgfhhinhhnucfklhhmrghr ihcuofgrnhhnshonkhgvrhcuoehilhhmrghrihesihhlmhgrrhhirdhorhhgqeenucggtf frrghtthgvrhhnpedvhfduiefhleejvdejleeftdetueehfffhgfejgfduffeljedvueek gedtkefhjeenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepihhlmhgrrhhisehilhhm rghrihdrohhrghdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhrtg hpthhtohepphhgshhqlhdqhhgrtghkvghrshesphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i1ff147bf:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 9 Jun 2025 16:33:47 -0400 (EDT) From: =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= To: pgsql-hackers@postgresql.org Subject: Re: Improve tab completion for various SET/RESET forms References: <87bjqwwtic.fsf@wibble.ilmari.org> Date: Mon, 09 Jun 2025 21:33:46 +0100 In-Reply-To: <87bjqwwtic.fsf@wibble.ilmari.org> ("Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker=22's?= message of "Mon, 09 Jun 2025 21:27:07 +0100") Message-ID: <878qm0wt79.fsf@wibble.ilmari.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Dagfinn Ilmari Mannsåker writes: > Hi hackers, > > I noticed that psql tab-completes every possible session-settable > variable after RESET, not just the ones that have actually been set in > the current session. However, as I was fixing that I noticed several > other deficiencies around other forms of SET/RESET. So, here's the > resulting yak stack. Added to the next commitfest: https://commitfest.postgresql.org/patch/5810/ - ilmari