Skip site navigation (1) Skip section navigation (2)

Re: looking for tcl-dp help

From: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
To: Richard Welty <rwelty(at)averillpark(dot)net>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: looking for tcl-dp help
Date: 2003-09-13 13:25:37
Message-ID: Pine.LNX.4.21.0309131413470.21877-100000@ponder.fairway2k.co.uk (view raw or flat)
Thread:
Lists: pgsql-interfaces
On Fri, 12 Sep 2003, Richard Welty wrote:

> it's not clear that this is entirely the right list, i'm gambling that i'll
> at least find some tcl expert here who can set me straight.
> 
> i'm trying to get tcl-dp running in order to support a pgreplicator
> installation. when i run pgtclsh and enter "package require dp" manually,
> i get the following error:
> 
> can't find package dp
> 
> but then when i do
> 
> info loaded
> 
> i get
> 
> {/usr/lib/tcl8.3/dp4.0/unix/libdp40.so Dp}
> 
> suggesting that something is broken down there and a better error message
> might be squirreled away somewhere. i'm no tcl expert, any pointers would
> be appreciated.

Yep, you're right, it's not the correct list. I don't know what is.

However, the dp package has some oddities imo. I have wasted a fair amount of
time recently trying to locate bugs in my code where the real problem has been
with the dp package. It looks a reasonable system to use if all you want is low
data volume, rpc style communication.

The handling of SIGPIPE etc. should be a good selling point but imo it is far
better and easier just to handle the networking and everything yourself. I
hadn't read in depth about the 'low-level' facilities it provided but what I
did made me think it would be useful but I was only going to use those with the
rpc interface for simplicity. If I was going to go to the degree of learning a
new set of library calls to open a socket I'd be inclined to just use the
native socket one instead and if I was expecting any decent level of comms
traffic I'd certainly not use the dp_RPC stuff.

As I say just my opinion.


-- 
Nigel J. Andrews


In response to

pgsql-interfaces by date

Next:From: Michael VodepDate: 2003-09-13 13:45:05
Subject: insert/export BLOB: C libpq
Previous:From: Richard WeltyDate: 2003-09-13 00:49:58
Subject: looking for tcl-dp help

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group