diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2012-02-28 01:06:29 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2012-02-28 01:06:29 -0300 |
commit | 41e3c94cac0e68257126b2d264dc5e877e892490 (patch) | |
tree | d581501cc8819ea933329d71a3373109a25db794 /src/backend/access/gist/gistproc.c | |
parent | cb3a7c2b95a28e57c56562d48d2a3aa5eeb7fa29 (diff) | |
download | postgresql-41e3c94cac0e68257126b2d264dc5e877e892490.tar.gz postgresql-41e3c94cac0e68257126b2d264dc5e877e892490.zip |
psql: when tab-completing, use quotes on file names that need them
psql backslash commands that deal with file or directory names require
quotes around those that have spaces, single quotes, or backslashes.
However, tab-completing such names does not provide said quotes, and is
thus almost useless with them.
This patch fixes the problem by having a wrapper function around
rl_filename_completion_function that dequotes on input and quotes on
output. This eases dealing with such names.
Author: Noah Misch
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions