Re: [PATCH] Add tab-complete for backslash commands

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "tanghy(dot)fnst(at)fujitsu(dot)com" <tanghy(dot)fnst(at)fujitsu(dot)com>
Cc: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] Add tab-complete for backslash commands
Date: 2021-09-08 17:25:08
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

"tanghy(dot)fnst(at)fujitsu(dot)com" <tanghy(dot)fnst(at)fujitsu(dot)com> writes:
> Here is the updated patch in which I added the multiple-character versions for backslash commands
> and remove their corresponding single-character version.
> Of course, for backslash commands with only single-character version, no change added.

Pushed. I tweaked your list to the extent of adding back "\ir",
because since it's two letters not one, the argument that it's
entirely useless for tab completion doesn't quite apply. But
if we wanted to make a hard-and-fast policy of offering only
the long form when there are two forms, maybe we should remove
that one too.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dipesh Pandit 2021-09-08 17:45:24 Re: .ready and .done files considered harmful
Previous Message Gilles Darold 2021-09-08 16:59:16 Re: Schema variables - new implementation for Postgres 15