Re: libdir for installcheck - Mailing list pgsql-hackers

From Tom Lane
Subject Re: libdir for installcheck
Date
Msg-id 3622.1153677272@sss.pgh.pa.us
Whole thread Raw
In response to libdir for installcheck  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> I see that pg_regress.c has the following (after I adjusted the #ifdef):

>         /*
>          * On Windows, it seems to be necessary to adjust PATH even in
>          * this case.  (XXX really?  If so, what if installation has
>          * been relocated?)
>          */
>   #if defined(WIN32) || defined(CYGWIN)
>         add_to_path("PATH", ';', libdir);
>   #endif

> The "case" referred to is where we aren't using a temp install.

> I'm pretty sure that the answer is that we don't need this.

Could be.  This is just a copy-and-paste of logic that was in the shell
script... feel free to remove it and see what happens ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: libdir for installcheck
Next
From: Tom Lane
Date:
Subject: Re: [PERFORM] Sun Donated a Sun Fire T2000 to the PostgreSQL