Re: plphp crashing server

From: CSN <cool_screen_name90001(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: plphp crashing server
Date: 2005-08-11 20:59:56
Message-ID: 20050811205956.41748.qmail@web52904.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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 <cool_screen_name90001(at)yahoo(dot)com> wrote:

> 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
> reset: Failed.
>
> 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 the entire server to
> crash?
>
> Thanks,
> CSN
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2005-08-11 21:13:10 Re: plphp crashing server
Previous Message CSN 2005-08-11 20:51:54 Re: ERROR: plphp: unable to register function "plphp_proc_4947785_trigger"