Re: C function - other process

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jakub Woźny <kubaw(at)o2(dot)pl>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: C function - other process
Date: 2005-04-22 19:39:55
Message-ID: 12255.1114198795@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Jakub =?ISO-8859-2?Q?Wo=BCny?= <kubaw(at)o2(dot)pl> 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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Michael Fuhr 2005-04-22 20:01:50 Re: C function - other process
Previous Message Jakub Woźny 2005-04-22 19:18:00 C function - other process