Re: 15beta1 tab completion of extension versions

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Noah Misch <noah@leadboat.com>
Cc: Jeff Janes <jeff.janes@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-07-03T14:29:38Z
Lists: pgsql-hackers
Noah Misch <noah@leadboat.com> writes:
> I think it makes sense to send UPDATE TO as a single completion in places
> where no valid command can have the UPDATE without the TO.  CREATE RULE foo AS
> ON UPDATE TO is a candidate, though CREATE RULE completion doesn't do that
> today.  "ALTER EXTENSION hstore UPDATE;" is a valid command (updates to the
> control file default version).  Hence, I think the v14 behavior was better.

Hmm ... good point, let me think about that.

			regards, tom lane



Commits

  1. Simplify tab completion of extension versions, redux.

  2. Simplify tab completion of extension versions.

  3. Fix busted tab completion of extension versions.

  4. psql: improve tab-complete's handling of variant SQL names.