On 2019-Dec-27, Tom Lane wrote: > I wrote: > > [ psql-filename-completion-fixes-2.patch ] > > The cfbot noted this was broken by the removal of pg_config.h.win32, > so here's a new version rebased over that. No changes other than > adjusting the MSVC autoconf-substitute code.
Works well for me. One minor thing I noticed is that if I enter \copy t from '/tmp/t'<tab> and I have files /tmp/t and /tmp/tst then it removes the ending quote. I can live with that, since the tab there is pointless anyway. (The unpatched version removes *both* quotes. The quotes there are not mandatory, but the new version works better when there are files with whitespace in the name.) -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services