Thread: Re: [COMMITTERS] pgsql/contrib/rserv ApplySnapshot.in CleanLog.

Re: [COMMITTERS] pgsql/contrib/rserv ApplySnapshot.in CleanLog.

From
Peter Eisentraut
Date:
Alexey V. Borzov writes:

>   Agh! I finally read up on module loading
> http://developer.postgresql.org/docs/postgres/xfunc-c.html#XFUNC-C-DYNLOAD
>   and now I seem to understand. You see, the problem with the current
>   Makefile is as follows: it substitutes '$libdir' into both .sql and
>   perl files. While this is good enough for sql, $libdir is consumed
>   by Perl and thus perl scripts do NOT work.

Then fix the Perl scripts.  Keep the bizarre code close to the cause, so
it's easier to maintain.

-- 
Peter Eisentraut   peter_e@gmx.net