Re: BUG #16059: Tab-completion of filenames in COPY commands removes required quotes
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@lists.postgresql.org
Cc: steven.winfield@cantabcapital.com
Date: 2020-01-03T07:54:35Z
Lists: pgsql-bugs, pgsql-hackers
On 2019-11-03 23:40, Tom Lane wrote: > * The patch now always quotes completed filenames, so quote_if_needed() > is misnamed and overcomplicated for this use-case. I left the extra > generality in place for possible future use. On the other hand, this > is the*only* use-case, so you could also argue that we should just > simplify the function's API. I have no strong opinion about that. I haven't found an explanation in this thread why it does always quote now. That seems a bit unusual. Is there a reason for this? Can we do without it? -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Improve psql's tab completion for filenames.
- cd69ec66c886 13.0 landed
-
Modernize our readline API a tad.
- 5e7bedc5adba 13.0 landed
-
Add tab completion for EXPLAIN (SETTINGS) in psql
- 4b011cad272e 13.0 cited