TABLE tab completion

Started by Vik Fearingover 8 years ago3 messageshackers
Beta feature

Hackorum builds and tests every patch posted to the lists, not only commitfest submissions. This is Hackorum's own CI rather than the PostgreSQL project's, and it is still under testing - please report anything that looks wrong.

won't retrysuccessCI history

You can run a PostgreSQL built from this patch straight from Docker, with no checkout and no build:

docker run --rm -p 5432:5432 ghcr.io/hackorum-dev/postgres-patch:t38780
psql -h localhost -U postgres

Built from patchset v1 (message #1), July 27, 2026 at 08:22 PM.

Every patchset is also pushed to a branch of our PostgreSQL fork, so you can check out the same tree CI built. Without a PostgreSQL checkout:

git clone --branch t38780_1 https://github.com/hackorum-dev/postgres.git

In a checkout you already have, add the fork once:

git remote add hackorum https://github.com/hackorum-dev/postgres.git

then, for this patchset and every later one:

git fetch hackorum t38780_1 && git checkout t38780_1

Patchset v1 (message #1) is on t38780_1

Jump to latest
#1Vik Fearing
vik@postgresfriends.org

The tab completion for the TABLE command includes indexes but that's a
bug. Attached is a trivial patch to fix it.
--
Vik Fearing +33 6 46 75 15 36
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support

Attachments:

t38780_1
TABLE_tab-complete.patchtext/x-patch; name=TABLE_tab-complete.patchDownload+1-1
#2Edmund Horner
ejrh00@gmail.com
In reply to: Vik Fearing (#1)
Re: TABLE tab completion

On 29 May 2018 at 07:28, Vik Fearing <vik.fearing@2ndquadrant.com> wrote:

The tab completion for the TABLE command includes indexes but that's a
bug. Attached is a trivial patch to fix it.

Looks correct to me.

You lose tab completion for "TABLE pg_toast.pg_toast_xyz" but that
seems reasonable. If people want to query toast tables I'm sure
they'll manage.

#3Michael Paquier
michael@paquier.xyz
In reply to: Vik Fearing (#1)
Re: TABLE tab completion

On Mon, May 28, 2018 at 09:28:12PM +0200, Vik Fearing wrote:

The tab completion for the TABLE command includes indexes but that's a
bug. Attached is a trivial patch to fix it.

As far as I can see, this patch is not needed anymore since e3b7a6d1.
--
Michael