Re: Function written in C, hangs on one machine and not another...

From: Dennis Jenkins <dennis(dot)jenkins(at)sbcglobal(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Function written in C, hangs on one machine and not another...
Date: 2005-10-28 15:15:52
Message-ID: 20051028151552.34862.qmail@web81310.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

--- CG <cgg007(at)yahoo(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dennis Jenkins 2005-10-28 15:18:23 Re: Function written in C, hangs on one machine and not another...
Previous Message CG 2005-10-28 14:49:17 Re: Function written in C, hangs on one machine and not another...