Thanks for the answer.
Where can I find this modules: DBI and DBD::Pg are classes ...?>?
sorry i don't know how to do it...i really nead to know for
a university project!!
... and why can I acces your webpage?
> http://tolikus.hq.aaanet.ru:8080
___
> Hi. I need to know if I configure my psql with perl library I also need
>the DBI::Pg class for quering my database in psql?. The following example
>will work?
if you vconfigure postgresql with --with-perl, the "native" Pg Module is built. This
one differs a bit from DBI::Pg.
For me, I do not
> "EC" == Ene Cosmin <[EMAIL PROTECTED]> writes:
EC> Hi. I need to know if I configure my psql with perl library I also need
EC> the DBI::Pg class for quering my database in psql?. The following example
EC> will work?
EC> --
EC> use DBI;
EC> $dbh = new DBI( 'dbi:Pg:database;host',
Hi. I need to know if I configure my psql with perl library I also need
the DBI::Pg class for quering my database in psql?. The following example
will work?
--
use DBI;
$dbh = new DBI( 'dbi:Pg:database;host', 'user', 'secret' );
if( ! $dbh->dbh ){
echo "Could not connect to the databas
I have been trying to install the DBD-Pg driver for
the DBI interface.
I am using Red Hat 6-2 and
postgresql-7.0.2-2.i386.rpm et al.
Postgresql is installed and running
smoothly.
The perl interface is connecting and
happy.
perl-DBI-1.13-1.i386.rpm is installed and seems to
be O.K.
The