Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it> writes:
> ... I can't make install (provided it works as expected, I didn't try
> yet) since I sincerely hope that my user doesn't have write right on
> whatever is pointed by $libdir.
Why not? In order to install a C function, you have to be superuser,
which means you already have the keys to the kingdom database-wise.
There is no reason to not give a developer of C functions write access
on $libdir. He could do whatever he wanted inside the C code anyway.
regards, tom lane