On 19th of November, Fujii Masao committed patch:
Add tab completion for \pset in psql. Pavel Stehule, reviewed by Ian Lawrence Barwick
psql, my favorite database client has (at the moment) 16 different formatting related options set by \pset command.
Some of these, have their shortcut versions (\x, \a, \t …), but not all.
Additionally – I think that:
\pset format unaligned
is more readable than
And that doesn't even mention that \a is a toggle, and not setter.
Anyway – this new patch, by Pavel, adds simple, yet very useful thing – tab completion.
Now, instead of typing:
\pset format aligned
I can simply
to get the same thing.
If you think that's just a convenience – sure. It is. But it also saves me some time by avoiding typos. And that's a great thing. Thanks Pavel.