Add some missing backslash commands to psql's tab-completion knowledge.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: f1175556a17a193395326f45a3e595b4aa3a9eff
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-06-03T21:10:25Z
Releases: 10.0
Add some missing backslash commands to psql's tab-completion knowledge.

\if and related commands were overlooked here, as were \dRp and \dRs
from the logical-replication patch, as was \?.

While here, reformat the list to put each new first command letter on
a separate line; perhaps that will limit the need to reflow the whole
list when we add more commands in future.

Masahiko Sawada (reformatting by me)

Discussion: https://postgr.es/m/CAD21AoDW1QHtBsM33hV+Fg2mYEs+FWj4qtoCU72AwHAXQ3U6ZQ@mail.gmail.com

Files

PathChange+/−
src/bin/psql/tab-complete.c modified +22 −8

Discussion