tsearch2 regression test path problem

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: tsearch2 regression test path problem
Date: 2004-10-17 21:56:25
Message-ID: 4172EA89.9020504@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


The makefile for tsearch2 has this rule:

tsearch2.sql: tsearch.sql.in
sed -e 's,MODULE_PATHNAME,$$libdir/$(MODULE_big),g' \
-e 's,DATA_PATH,$(datadir)/contrib,g' $< >$@

The problem is that on Windows, $(datadir) is typically a virtual Msys
path (or least typically it is for me) which is not understood by a
running backend, so when it goes to load the file with "make
installcheck" it can't find it.

I'm not sure if there is some nicely portable way around this. Any
suggestions?

cheers

andrew

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-10-17 22:08:00 Re: DETERMINISTIC as synonym for IMMUTABLE
Previous Message Troels Arvin 2004-10-17 21:56:21 DETERMINISTIC as synonym for IMMUTABLE