From: Ed Loehr <eloehr@austin.rr.com>
To: bweaver@tranquility.net
Cc: pgsql-interfaces@postgresql.org
Subject: Re: [INTERFACES] Re: Quick perl question
Date: Mon, 06 Mar 2000 14:33:15 -0600
Message-ID: <38C4160B.E259A40C@austin.rr.com> (raw)
References: <38C3F131.215DB6A5@amgen.com>
> I also would like to echo the comments that someone else has made about using
> DBI::DBD rather than Pg. Pg works well and is slightly easier to get working,
> but that is because the complexity of DBI::DBD adds some useful stuff not
> present in Pg. In particular, the error trapping is great. On the down side, it
> gets tedious writting each query as two parts: "prepare" and "execute". This is
> compensated for in overall portability to other DBMS, I think.
You may also avoid that downside by encapsulating prepare() and
execute(), eg.
sub mySelect {
...
prepare...
execute...
...
}
Regards,
Ed Loehr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: eloehr@austin.rr.com, bweaver@tranquility.net
Subject: Re: [INTERFACES] Re: Quick perl question
In-Reply-To: <38C4160B.E259A40C@austin.rr.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox