Tom Lane wrote:
>> 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.
>
> Ugh. I don't think it's acceptable to make contrib modules have to do
> that. Even if we fix all the ones in core, what of other people relying
> on the pgxs infrastructure?
Yeah, true. Maybe copy the data directory over, but let pg_regress do it?