Re: Function written in C, hangs on one machine and not another... - Mailing list pgsql-general

From Dennis Jenkins
Subject Re: Function written in C, hangs on one machine and not another...
Date
Msg-id 20051028151552.34862.qmail@web81310.mail.yahoo.com
Whole thread Raw
In response to Re: Function written in C, hangs on one machine and not another...  (CG <cgg007@yahoo.com>)
List pgsql-general
--- CG <cgg007@yahoo.com> wrote:
>
> There's no other way to load data into the toolkit!
> (Can you /feel/ the
> insanity?)
>
> Does this give you any more insight into an
> alternate method of getting this
> thing done?
>

Write a completely seperate process to process your
FDF stuff.  Have this new process expose a
communicastions channel (message queues, sockets,
shared memory, etc...).  Write your PostgreSQL 'C'
function to use this channel.

You'll get almost complete seperation and the ability
to debug each piece independant of the other.  You can
write stubs for both ends: a fake server for testing
the PostgreSQL part, and a fake "client" for testing
the daemon that you wrote.


Dennis Jenkins

pgsql-general by date:

Previous
From: CG
Date:
Subject: Re: Function written in C, hangs on one machine and not another...
Next
From: Dennis Jenkins
Date:
Subject: Re: Function written in C, hangs on one machine and not another...