Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: C function - other process - Mailing list pgsql-sql

From Tom Lane
Subject Re: C function - other process
Date
Msg-id [email protected]
Whole thread Raw
In response to C function - other process  (Jakub Woźny <[email protected]>)
Responses Re: C function - other process
List pgsql-sql
Jakub Woźny <[email protected]> writes:
> I wrote a simple function:

>     signal(SIGCHLD,SIG_IGN);
>     switch(fork())

This will NOT work.  It WILL corrupt your database.  You do not get to
randomly introduce new processes into the backend set.
        regards, tom lane


pgsql-sql by date:

Previous
From: Jakub Woźny
Date:
Subject: C function - other process
Next
From: Michael Fuhr
Date:
Subject: Re: C function - other process