From: Eric Marsden <emarsden@mail.dotcom.fr>
To: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] Re: thread-safe libpq and DBD::Pg
Date: 12 Aug 1998 16:29:14 +0200
Message-ID: <m23eb2e0jp.fsf@cook.onecert.fr> (raw)
References: <26919.902847103@sss.pgh.pa.us>
<35D0763C.C5D2DBF8@trust.ee>
>>>>> "HK" == Hannu Krosing <hannu@trust.ee> 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.
This is my impression too: in postgresql-6.3.2/src/interfaces/libpgtcl/
there are C files which reference functions like PQconnectdb. However,
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.
The documentation looks wrong, or perhaps it is talking about a
development version of libpgtcl? Should I report a documentation bug?
HK> I've got the impression that there is currently a pure Tcl interface
HK> as well that some use with pgAccess on win32.
This is ftp://ftp.flex.ro/pub/pgaccess/pgsql.tcl (Tcl interface at the
socket level).
--
Eric Marsden
emarsden @ mail.dotcom.fr
It's elephants all the way down
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: emarsden@mail.dotcom.fr
Subject: Re: [INTERFACES] Re: thread-safe libpq and DBD::Pg
In-Reply-To: <m23eb2e0jp.fsf@cook.onecert.fr>
* 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