On Fri, 26 Apr 2002, Jeff Post wrote:
> Anyways digging through the module source I am
> not able to determin if the module depends on any postgresql libraries.
>
> If there is a dependancy is it on a Os-dependant Sharable object.
Yes:
angelic $ pkg_info -L p5-postgresql
Information for p5-postgresql-1.9.0:
Files:
/usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd/Pg.pm
/usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd/auto/Pg/.packlist
/usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd/auto/Pg/Pg.bs
/usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd/auto/Pg/Pg.so
/usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd/auto/Pg/autosplit.ix
It uses the Postgres C client library.
It would be interesting to try to write a "type 4" driver for
postgres in perl. I don't know if the speed would be as good, but
I don't see any real reason why it shouldn't be.
cjs
--
Curt Sampson <cjs@cynic.net> +81 90 7737 2974 http://www.netbsd.org
Don't you know, in this new Dark Age, we're all light. --XTC