Further work on tab completion code: arrange for system catalogs to be

offered for completion only when the input-so-far is at least 'pg_'.
This seems to be the best compromise behavior emerging from yesterday's
discussion.  While at it, refactor code to eliminate repetitive use of
nearly identical queries, which was exceedingly tedious to maintain.
Also const-ify code more thoroughly in hopes of moving constant data into
text segment, and remove unnecessary length limit on queries.
REL7_4_STABLE
Tom Lane 23 years ago
parent fcfbd434cc
commit e84487f67a
  1. 955
      src/bin/psql/tab-complete.c

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save