Re: Perl interface

Поиск
Список
Период
Сортировка
От Giles Lean
Тема Re: Perl interface
Дата
Msg-id 20056.961197996@nemeton.com.au
обсуждение исходный текст
Ответ на Perl interface  (Thomas Holmgren <thm@cs.auc.dk>)
Список pgsql-general
> I would like to extract data from my postgreSQL7.0 database and present
> them on a web-page. I want to use CGI scripts written in Perl. How do I
> connect to and query the DB from Perl? A reference to a tutorial or some
> sort of documentation would be highly appreciated! :))

The choices for perl/PostgresQL interfacing are DBI and DBD::Pg which
you can find on CPAN (http://www.perl.com/CPAN), and the Pg module
which you can find in src/interfaces/perl5 in the postgresql
distribution.

The Pg module is closer to libpq. The DBI interface is more portable
and has the benefit of being documented in "Programming the Perl DBI"
by Alligator Descartes and Tim Bunce.

Regards,

Giles



В списке pgsql-general по дате отправления:

Предыдущее
От: Giles Lean
Дата:
Сообщение: Re: postmaster logs
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Error-message in other language