Re: DBD::Pg vs Pg.pm

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: DBD::Pg vs Pg.pm
Дата
Msg-id m3zo5oddsi.fsf@belphigor.mcnaught.org
обсуждение исходный текст
Ответ на DBD::Pg vs Pg.pm  ("Culley Harrelson" <Culley_Harrelson@pgn.com>)
Список pgsql-general
"Culley Harrelson" <Culley_Harrelson@pgn.com> writes:

> Are there any significance performance differences between DBD::Pg and going
> directly to Pg.pm.  I wasn't even aware that there was a difference till I
> recently...  The interface difference between the two are drastic.

I wouldn't imagine that there's much of a difference.  The main
advantage of the DBD module is that it fits into the DBI framework
which uses a common interface for many different databases.  So if you
had a Perl script using a proprietary database through DBI, you could
convert it fairly easily to use Postgres (depending on how much
non-standard SQL and server-side stuff you were doing).

DBI is the "recommended" way to use databases from Perl but Pg.pm
works fine AFIAK.

-Doug
--
Let us cross over the river, and rest under the shade of the trees.
   --T. J. Jackson, 1863

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

Предыдущее
От: "Culley Harrelson"
Дата:
Сообщение: DBD::Pg vs Pg.pm
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: Sourceforge on Oracle?