Re: BUG #16059: Tab-completion of filenames in COPY commands removes required quotes
Peter Eisentraut <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.devel.general |
|---|---|
| Organization | 2ndQuadrant |
| Message-ID | <[email protected]> |
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