"Martin A. Marques" <martin(at)math(dot)unl(dot)edu(dot)ar> writes:
> Now, libz.so is in the LD_LIBRARY_PATH of the postgres user, so why is it
> that Solaris doesn't load the .profile in the postgres directory.
Ah, but is the LD_LIBRARY_PATH the same inside that su? A change of
environment might explain why this works "by hand" and not through su
...
regards, tom lane