Re: [INTERFACES] Re: thread-safe libpq and DBD::Pg - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: [INTERFACES] Re: thread-safe libpq and DBD::Pg
Date
Msg-id 4093.902933306@sss.pgh.pa.us
Whole thread Raw
In response to Re: [INTERFACES] Re: thread-safe libpq and DBD::Pg  (Eric Marsden <emarsden@mail.dotcom.fr>)
List pgsql-interfaces
Eric Marsden <emarsden@mail.dotcom.fr> writes:
>>>>>> "TL" == Tom Lane <tgl@sss.pgh.pa.us> writes:
TL> The present libpgtcl is NOT pure Tcl --- it is a C-coded Tcl
TL> extension, besides which it is layered on top of libpq.

> the documentation for libpgtcl states (this is from the top of
> postgresql-6.3.2/doc/src/sgml/libpgtcl.sgml)

>    pgtcl is a tcl package for front-end programs to interface with
>    <ProductName>Postgres</ProductName> backends. pgtcl does not use
>    the libpq library but communicates to the backend directly via the
>    frontend-backend protocol. Thus, it is more efficient than previous
>    postgres->tcl bindings which are layered on top of libpq. In
>    addition, pgtcl can handle multiple backend connections from a
>    single frontend application.

Yeah, that paragraph is all wet --- perhaps there once was a libpgtcl
written that way, but the current distribution certainly is not it.
I took that para out of the CVS sources some time ago.

            regards, tom lane

pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: [INTERFACES] Re: thread-safe libpq and DBD::Pg
Next
From: Bryan Brunton
Date:
Subject: Back-end problems with Delphi and ODBCExpress