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 1oppKH-0005Jd-OU for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Nov 2022 11:21:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oppKG-00073H-G4 for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Nov 2022 11:21:00 +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 1oppKG-000738-5y for pgsql-hackers@lists.postgresql.org; Tue, 01 Nov 2022 11:21:00 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oppKD-0005t3-LE for pgsql-hackers@lists.postgresql.org; Tue, 01 Nov 2022 11:20:59 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 0E6FF5C00CA; Tue, 1 Nov 2022 07:20:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 01 Nov 2022 07:20:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1667301657; x= 1667388057; bh=+M0YMmrZ+7x72pyX6VIrrb4Ne4N0HoNk1gNCLeE/eEc=; b=Y LcZ/Hcp8wKjjd+hJ9olS6nG96eSiYyTu1qd6sw71s4xwQQXKHZsXidMK/6o1573p pOOxhV/3U6W6dSnZHWW/xCR6l4nLheCCmPbwbwk5jgDc6cIICGsQMAMOKjaVGIu0 XOAT8W5HrNKOxy5LbR2Q4PXuTq2mr2XEErzBHpB5cWjnhXgYUapK11Ow10YwPWzN zerLnzsPhXThS3lB3jixxIjhVw2KQ2FHghOtcQWNHoFcUiY3Hrxob5/BGC/TrphM QGlXAGfjOkooYXvOY0GLKgdMZy4amdIcphJdBtYPp4fx9fg5rwrTTe3aUxA0Sign wV/6JG+72W8EegblBRrfw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrudehgddvjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthekredttdefjeenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvg hrphhrihhsvggusgdrtghomheqnecuggftrfgrthhtvghrnhephfejudeuleefheeutddu feetjeevgeeiieeujeeuheefkedttdeuieeiieethfevnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgruhht segvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 1 Nov 2022 07:20:55 -0400 (EDT) Message-ID: Date: Tue, 1 Nov 2022 12:20:54 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH] Improve tab completion for ALTER TABLE on identity columns Content-Language: en-US To: Matheus Alcantara , =?UTF-8?Q?Dagfinn_Ilmari_Manns=c3=a5ker?= Cc: PostgreSQL Hackers References: <87mta1jfax.fsf@wibble.ilmari.org> From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 26.10.22 00:45, Matheus Alcantara wrote: >> I noticed that psql has no tab completion around identity columns in >> ALTER TABLE, so here's some patches for that. >> >> In passing, I also added completion for ALTER SEQUECNE … START, which was >> missing for some reason. > I've tested all 4 of your patches, and all of them seem to work as expected. > > This is my first time reviewing a patch, so let's see if more experience > hackers has anything more to say about these patches, but at first they > seem correct to me. This was sensible for a first review. Thanks for you help.