Re: plphp crashing server

Поиск
Список
Период
Сортировка
От CSN
Тема Re: plphp crashing server
Дата
Msg-id 20050811205956.41748.qmail@web52904.mail.yahoo.com
обсуждение исходный текст
Ответ на plphp crashing server  (CSN <cool_screen_name90001@yahoo.com>)
Ответы Re: plphp crashing server  (Martijn van Oosterhout <kleptog@svana.org>)
Список 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@yahoo.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

В списке pgsql-general по дате отправления:

Предыдущее
От: CSN
Дата:
Сообщение: Re: ERROR: plphp: unable to register function "plphp_proc_4947785_trigger"
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: plphp crashing server