pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Goran Thyni <goran@bildbasen.se>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] Re: thread-safe libpq and DBD::Pg
Date: Sun, 09 Aug 1998 11:33:24 -0400
Message-ID: <4095.902676804@sss.pgh.pa.us> (raw)
In-Reply-To: <35CD5AE4.DE2DF2B8@bildbasen.se>

Goran Thyni <goran@bildbasen.se> writes:
> DBD::Pg dos indeed use PQconnectdb(),
> but at least in my light test I get SEGV in $sth->fetch.
> The problems are probably somewhere in DBDI or DBD::Pg or
> somewhere in the interaction of the parts.

FWIW, I finally got around to installing Perl5 (5.004 pl4 to
be specific), and so far the perl5 interface supplied with pgsql
seems to work fine.  I only just now realized that what you
are talking about is something different ... the code included
in the distribution calls itself Pg not DBD::Pg.  What versions
of everything are you using?

> I am looking into how much work a "pure Perl" interface
> should amount to. Using native perl IO and pgsql-fe/be-protocol
> should make "pgsql-clienting" even more portable over platforms.

Of course, it will also mean that you have to maintain that code
every time we change the fe/be protocol ... there is a change
upcoming for 6.4.

			regards, tom lane



view thread (27+ messages)  latest in thread

Message-ID: <4095.902676804@sss.pgh.pa.us>
Permalink:  ../4095.902676804@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4095.902676804@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, goran@bildbasen.se
  Subject: Re: [INTERFACES] Re: thread-safe libpq and DBD::Pg
  In-Reply-To: <4095.902676804@sss.pgh.pa.us>

* 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