Re: Improve tab completion for various SET/RESET forms

Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>

From: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
To: pgsql-hackers@postgresql.org
Date: 2025-06-09T20:33:46Z
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. Fix tab completion for ALTER ROLE|USER ... RESET

  2. Schema-qualify unnest() in ALTER DATABASE ... RESET

Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> writes:

> Hi hackers,
>
> I noticed that psql tab-completes every possible session-settable
> variable after RESET, not just the ones that have actually been set in
> the current session.  However, as I was fixing that I noticed several
> other deficiencies around other forms of SET/RESET.  So, here's the
> resulting yak stack.

Added to the next commitfest:
https://commitfest.postgresql.org/patch/5810/

- ilmari