[PATCH] psql: Add missing IO option to EXPLAIN tab completion

Afrah Razzak <mypg.afrah@gmail.com>

From: Afrah Razzak <mypg.afrah@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Date: 2026-05-12T21:59:31Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. psql: Add missing IO option to EXPLAIN tab completion

  2. Add EXPLAIN (IO) infrastructure with BitmapHeapScan support

Attachments

Hi,

Commit 681daed9316 added EXPLAIN (IO) as a new boolean option, but
psql's tab completion was not updated to include it.

Currently:

    EXPLAIN (<Tab>      -- IO is not listed
  EXPLAIN (IO <Tab>   -- no ON/OFF offered

The attached patch adds IO to both the option keyword list and the
boolean ON/OFF completion pattern in tab-complete.in.c.

Thanks,
Afrah Razzak