Re: [PATCH] Tab completion for ALTER TABLE … ADD …

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2021-08-31T03:20:14Z
Lists: pgsql-hackers
On Mon, Aug 30, 2021 at 02:38:19PM +0100, Dagfinn Ilmari Mannsåker wrote:
> That was because I forgot to exclude all the other object types that can
> come after ADD.  Attached is a patch that does that.  I also moved it
> right next to the ALTER TABLE … ADD completion, and added a comment to
> keep the two lists in sync.

Looks fine to me, so applied while we are on it.
--
Michael

Commits

  1. Add tab completion for data types after ALTER TABLE ADD [COLUMN] in psql

  2. Add more tab completion support for ALTER TABLE ADD in psql