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

Поиск
Список
Период
Сортировка
От Dennis Jenkins
Тема Re: Function written in C, hangs on one machine and not another...
Дата
Msg-id 20051028151552.34862.qmail@web81310.mail.yahoo.com
обсуждение исходный текст
Ответ на Re: Function written in C, hangs on one machine and not another...  (CG <cgg007@yahoo.com>)
Список 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 по дате отправления:

Предыдущее
От: CG
Дата:
Сообщение: Re: Function written in C, hangs on one machine and not another...
Следующее
От: Dennis Jenkins
Дата:
Сообщение: Re: Function written in C, hangs on one machine and not another...