Re: Building perl mods pg:PG or DBD:PG on non-PostgreSQLable machines

From: Doug McNaught <doug(at)wireboard(dot)com>
To: dalgoda(at)ix(dot)netcom(dot)com (Mike Castle)
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Building perl mods pg:PG or DBD:PG on non-PostgreSQLable machines
Date: 2002-04-22 04:14:40
Message-ID: m3it6k2wun.fsf@varsoon.wireboard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

dalgoda(at)ix(dot)netcom(dot)com (Mike Castle) writes:

> In article <m3wuv32wp5(dot)fsf(at)varsoon(dot)wireboard(dot)com>,
> Doug McNaught <doug(at)wireboard(dot)com> wrote:
> >Nope. You're either going to have to port the libraries to NetWare
> >(which might not be too hard) or write a "pure Perl" implementation of
> >DBD::Pg (one that speaks the backend protocol directly rather than
> >using the libraries). The former is almost certainly less work. I
> >know there was someone on -hackers working on a NetWare port; you
> >might want to search the archives for that list.
>
>
> The JDBC driver is a pure Java implementation, correct?

Yes.

> Would that be a decent enough starting place for a pure Perl version?

That, plus the chapter in the docs that deals with the wire protocol.

The main downside to doing the above is that you have to track the
wire protocol yourself, rather than relying on libpq to do it for
you.

-Doug
--
Doug McNaught Wireboard Industries http://www.wireboard.com/

Custom software development, systems and network consulting.
Java PostgreSQL Enhydra Python Zope Perl Apache Linux BSD...

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard A Lough 2002-04-22 06:07:14 Archive of postgresql needed.
Previous Message Curt Sampson 2002-04-22 03:41:57 Re: One particular large database application