From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Neil Conway <nconway(at)klamath(dot)dyndns(dot)org> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: What the heck is happening here? |
Date: | 2001-06-12 04:46:06 |
Message-ID: | 200106120446.f5C4k6I05682@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> On Mon, Jun 11, 2001 at 06:17:31PM -0400, Paul Tomblin wrote:
> > Quoting Alex Pilosov (alex(at)pilosoft(dot)com):
> > > Don't do it. If you _must_ get some stuff on startup, close the conn after
> > > you are done. See mod_perl references for examples on using of ApacheDBI
> > > (mostly its just 'use ApacheDBI' vs 'use DBI') and no, you cannot use Pg
> > > (the oldstyle, libpq-alike) interface with ApacheDBI, you must use
> > > DBD::Pg.
> >
> > That shows how out of it I am - I didn't even know there was a DBD::Pg.
> > Why isn't it in the postgres-perl RPM?
>
> A lot of people don't seem to know this -- I guess they think that
> configuring PgSQL '--with-perl' installs the 'one and only' Perl
> interface. Unfortunately for them, they often never find out about
> DBD::Pg and DBI, which many people consider to be a more pleasant way
> to access databases from Perl.
>
> Perhaps a note in the install documentation could mention the existence
> of multiple Perl interfaces and where to go to get DBD::Pg
> (www.cpan.org)
I think we need to get DBD:Pg into our distribution.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Namrata | 2001-06-12 05:14:09 | How many no. of clients can access database simultaneously? |
Previous Message | Neil Conway | 2001-06-12 04:19:19 | Re: What the heck is happening here? |