Re: [GENERAL] plphp crashing server

2005-08-12 Thread Martijn van Oosterhout
On Thu, Aug 11, 2005 at 01:59:56PM -0700, CSN wrote: Jeez, nevermind again! Turns out this was the problem in the plphp script: $sql=select * from table where id=123; $result=spi_exec_query($sqll); If this is reproducable (ie, you can provide a script to trigger it), please make sure you

[GENERAL] plphp crashing server

2005-08-11 Thread CSN
Uh oh, I think plphp is crashing the server. When I update a row in the table with the trigger, this happens: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. The connection to the server was lost. Attempting

Re: [GENERAL] plphp crashing server

2005-08-11 Thread CSN
Jeez, nevermind again! Turns out this was the problem in the plphp script: $sql=select * from table where id=123; $result=spi_exec_query($sqll); I'm still curious about the Call-time pass-by-reference has been deprecated warning if anybody knows. Thanks, CSN --- CSN [EMAIL PROTECTED] wrote:

Re: [GENERAL] plphp crashing server

2005-08-11 Thread Alvaro Herrera
On Thu, Aug 11, 2005 at 01:50:21PM -0700, CSN wrote: And this is what shows up in the log: LOG: server process (PID 31665) was terminated by signal 11 LOG: terminating any other active server processes Wow. I still don't see anything wrong with the plphp function - how could it cause