psql tab completion for user functions and if explicitly required also "pg_"

From: Florin Irion <irionr(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: psql tab completion for user functions and if explicitly required also "pg_"
Date: 2026-02-12 12:19:12
Message-ID: 9beff186-b4fb-41eb-a7e0-f27393196c52@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

I think it would be nice to have tab completion for user functions after
`SELECT`, and also for `pg_` in some cases. There was already a
discussion around this here
https://www.postgresql.org/message-id/CACLU5mQBYaMgGzJ-ZoG4MrBuXLsREcQbiY4pqsnYjMaMQP6hQg%40mail.gmail.com ,
however as that discussion is ~ 1 year old I thought it's better to
start a new one.

Attaching a patch, keeping in mind some doubts that were expressed in
the old discussion.

Cheers,

Florin Irion
https://www.enterprisedb.com

Attachment Content-Type Size
v1-0001-Add-function-name-tab-completion-after-SELECT-in-.patch text/plain 5.7 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Dean Rasheed 2026-02-12 12:23:17 Re: Allow ON CONFLICT DO UPDATE to return EXCLUDED values
Previous Message Henson Choi 2026-02-12 12:04:52 Re: Row pattern recognition