PostgreSQL and Perl Interface

Dan Langille says, right after I started coding the new FreshPorts, I started to write some Perl scripts to load data into tables. The first problem was getting the Perl-PostgreSQL interface installed. I’d forgotten how I’d done this with mySQL. This is also known as the PostgreSQL DBI or DBD::Pg. The easiest way to get Perl talking to PostgreSQL is to install a port. I followed the instructions found in the FreeBSD handbook for compiling ports from the internet. The solution is at the PostgreSQL Guide webpage. At that site, you’ll find information about the Perl 5 interface for PostgreSQL, DBD::Pg. Read more.

Advertisements

Published by

padik

FreeBSD, CodeIgniter, TCG

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s