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

Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>

From: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
To: "Michael Paquier" <michael@paquier.xyz>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2021-08-31T08:36:48Z
Lists: pgsql-hackers
On Tue, 31 Aug 2021, at 04:20, Michael Paquier wrote:
> 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.

Thanks!

- ilmari



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