pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Constantin Teodorescu <teo@flex.ro>
To: Herouth Maoz <herouth@oumail.openu.ac.il>
Cc: PostgreSQL Interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: [INTERFACES] Re: [QUESTIONS] Connect to Postgres with pure TCL
Date: Tue, 13 Jan 1998 14:44:09 +0200
Message-ID: <34BB6199.2155538B@flex.ro> (raw)
References: <l03110700b0e0cd5433d5@[147.233.159.109]>

Herouth Maoz wrote:
> 
> However, your way would be much more logical, though I suspect a
> performance degredation if all the connections are done in the interpreted
> language itself.

I don't think so.
SQL conversation mean some small messages for establishing protocol then
sending the SQL command and after that receiving data. The most part of
the time is taken by data transferring over the network. I would bet on
a maximum 5% performance degrading.

Tcl/Tk 8.0 would be the only version that could deal with binary i/o
over files and sockets.

In my opinion, it wouldn't be so hard to rewrite pg interface directly
in Tcl. 
I would study that posibility and keep you informed.

-- 
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA



view thread (6+ messages)  latest in thread

Message-ID: <34BB6199.2155538B@flex.ro>
Permalink:  ../34BB6199.2155538B@flex.ro/
Also on:    postgresql.org/message-id/34BB6199.2155538B@flex.ro

 · 

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: teo@flex.ro, herouth@oumail.openu.ac.il
  Subject: Re: [INTERFACES] Re: [QUESTIONS] Connect to Postgres with pure TCL
  In-Reply-To: <34BB6199.2155538B@flex.ro>

* 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