If you installed postgres as recommended as an unpriveleged user then
when you ran make install, the perl install would fail since your perl
lib directory is undoubtably owned by root. The perl module does come
with the postgres distribution and can be found in the distribution
directory:
src/interfaces/perl5. If you made postgres with the include perl option
then pg.pm is in that directory. su to root and run make install from
that directory and you should be set.
--
Vince Daniels