I don't know what happened, but as I understand it Pg.pm hasn't been
maintained for some time now... since DBI came out. I would recommend using
DBI with DBD::Pg to query your postgres databases. It also makes it easy if
ever have to migrate to a new DB server, God Forbid. You just download the
new DBD driver and change your connection setup and BAM! All your queries
and accompanied code still run without modification.
[mailto:pgsql-novice-owner(at)postgresql(dot)org]On Behalf Of Dax Duskin
Sent: Thursday, March 15, 2001 7:52 AM
Subject: [NOVICE] perl problems
I've been having problems getting queries from perl to run with Pg.pm. My
database connection works and the database is opened fine. However when I
execute a query like "$result = $conn->exec($query);" I can never return any
tuples. I have tried many different forms of the sql query, (the exact same
queries work fine in psql) on a couple databases and tables. Still no luck.
The code worked last night. Is there some setting on postmaster that I need
set? What happened?
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
In response to
pgsql-novice by date
|Next:||From: D. Duccini||Date: 2001-03-15 20:03:00|
|Subject: Indexes not used|
|Previous:||From: Daniel A. Melo||Date: 2001-03-15 16:26:04|
|Subject: Re: [NOVICE] Re: Re: compilation error <segunda parte>|