in reply to Interfacing with PostgreSQL

If you are going to "make" the DBD::Pg module from source, you may need to get a copy of the postgreSQL source code from www.postgresql.org. IIRC, the modules depends on the libs and includes-- even requiring you to set environment variables! So much for perl -MCPAN -e "shell install DBD::Pg". :)

There is also an excellent book on postgreSQL which used to be in PDF but is now available on the web using HTML. While most of the book is devoted to the DBMS itself and is very good, the chapter on the Perl bindings is pitiful.

But using DBI and DBD::Pg, you will likely find the perldoc for each of these to be informative.

Replies are listed 'Best First'.
Re^2: Interfacing with PostgreSQL
by apotheon (Deacon) on Jan 25, 2008 at 23:29 UTC

    Several years later . . .

    The book to which you linked has moved. It is now available here.

    I post this in case others who come later might be searching for similar information and disappointed at the broken link. Also, in case the location should change again, the title of the book is PostgreSQL: Introduction and Concepts, and its author's name is Bruce Momjian. It dates back to 2000, though. There are newer books available, if you're willing to shell out the cash.

    print substr("Just another Perl hacker", 0, -2);
    - apotheon
    CopyWrite Chad Perrin