On Wed, Aug 17, 2016 at 8:05 AM, Andres Freund <andres(at)anarazel(dot)de> wrote:
> ISTM that the correct fix would be to actually introduce something like
> quote_path_for_shell() which either adds proper quotes, or fails if
> that'd be hard (e.g. if the path contains quotes, and we're on
> windows).
You are looking for appendShellString in fe_utils/string_utils.c.
--
Michael