pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: David Wheeler <david@wheeler.net>
Cc: David F. Skoll <dfs@roaringpenguin.com>
Cc: Andrew Perrin <clists@perrin.socsci.unc.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: Silencing NOTICEs in Perl Pg
Date: Thu, 29 Aug 2002 14:04:27 -0500
Message-ID: <20020829190427.GA25628@wolff.to> (raw)
In-Reply-To: <CC21CBBB-BB7D-11D6-B671-0003931A964A@wheeler.net>
References: <Pine.LNX.4.44.0208291429240.9802-100000@shishi.roaringpenguin.com>
	<CC21CBBB-BB7D-11D6-B671-0003931A964A@wheeler.net>

On Thu, Aug 29, 2002 at 11:33:22 -0700,
  David Wheeler <david@wheeler.net> wrote:
> On Thursday, August 29, 2002, at 11:29  AM, David F. Skoll wrote:
> 
> >PostgreSQL comes with its own "Pg" module, completely unrelated to DBI.
> >That's what I'm using.
> 
> Oh, never noticed that before.
> 
> May I suggest to the PostgreSQL developers that this be deprecated in 
> favor of DBI/DBD::Pg? That really is the standard way to interface to 
> databases in Perl.

Just because it is the standard way doesn't mean its the best way.
Pg is tied closely to libpg which may provide advantages in some cases.

For example, I believe DBI has a lame way to do things when autocommit is off.
It immediately starts a transaction rather than wait for a begin statement
to be sent. This has consequences that may not always be desirable.



view thread (21+ messages)  latest in thread

Message-ID: <20020829190427.GA25628@wolff.to>
Permalink:  ../20020829190427.GA25628@wolff.to/
Also on:    postgresql.org/message-id/20020829190427.GA25628@wolff.to

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: bruno@wolff.to, david@wheeler.net, dfs@roaringpenguin.com, clists@perrin.socsci.unc.edu
  Subject: Re: Silencing NOTICEs in Perl Pg
  In-Reply-To: <20020829190427.GA25628@wolff.to>
  References: <Pine.LNX.4.44.0208291429240.9802-100000@shishi.roaringpenguin.com> <CC21CBBB-BB7D-11D6-B671-0003931A964A@wheeler.net> <20020829190427.GA25628@wolff.to>

* 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