Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>> vpath build should be fixed now. MSVC will need to update the
>> pg_regress call sites, but I'll leave that to those maintaining that
>> build system. In particular, the --dlpath option needs to be added.
>
> contrib is still pretty broken. One part of it is needing a --srcdir
> option in pgxs.mk, which I fixed. But some of the modules still
> fail --- it looks like the problem is with the ones having data/
> subdirectories. You seem to have taken out the copying of the data
> files into the vpath build tree, but I think you might have to
> put it back.
I think the right fix would be to convert those .sql files to
input/*.source files and have pg_regress substitute the absolute
directory names in them, like it is done for the backend.