Re: BUG #16059: Tab-completion of filenames in COPY commands removesrequired quotes

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BUG #16059: Tab-completion of filenames in COPY commands removesrequired quotes
Дата
Msg-id 6ccd23e4-ce58-c2b5-39a1-801a9937ae86@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: BUG #16059: Tab-completion of filenames in COPY commands removes required quotes  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #16059: Tab-completion of filenames in COPY commands removes required quotes
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [PATCH] Fix parallel query doc typos
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: parallel vacuum options/syntax