James William Pye <flaw(at)rhid(dot)com> writes:
>> At compile time, you should be checking the specific feature you care
> Well, for one of my uses, it is not a feature check. My PL loads a
> Python extension module whose path is dependent on the major and minor
> version of the PostgreSQL installation that the PL was compiled against.
> So I construct the module path string based on the major and minor at
> compile time.
Er ... can't you just keep it in pkglibdir and refer to it via $libdir?
Given that 8.0 now supports relocatable installations, I'd think it best
to avoid hardwiring any paths at compile time.
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Heikki Linnakangas||Date: 2004-10-31 18:02:09|
|Subject: Re: fsync, ext2 on Linux|
|Previous:||From: Tom Lane||Date: 2004-10-31 17:38:32|
|Subject: Re: make check error on -HEAD |