Re: Stored procedures, PDO, and PHP issue

Поиск
Список
Период
Сортировка
От Andy Shellam
Тема Re: Stored procedures, PDO, and PHP issue
Дата
Msg-id 4A8C7E77.4030902@networkmail.eu
обсуждение исходный текст
Ответ на Re: Stored procedures, PDO, and PHP issue  (Eric Chamberlain <Eric.Chamberlain@zonarsystems.com>)
Список pgsql-php
Hi Eric,

Ah cool well I guess we all learnt something now then huh!?  Cheers for
letting us know the solution.  Strange that PDO won't let you use the
"?" syntax as well as named data types in the query.

>
> Here is what is in the Apache log:
>
> [Wed Aug 19 15:07:02 2009] [notice] child pid 31897 exit signal
> Segmentation fault (11)
> [Wed Aug 19 15:07:03 2009] [notice] child pid 4163 exit signal
> Segmentation fault (11)
> [Wed Aug 19 15:07:05 2009] [notice] child pid 4122 exit signal
> Segmentation fault (11)
> [Wed Aug 19 15:07:07 2009] [notice] child pid 4209 exit signal
> Segmentation fault (11)

Yeah that's PHP crashing (explaining why you only get the blank
screen.)  If you have the time, maybe report it to the PHP guys
(http://bugs.php.net.)  I can't see why you cannot use "?::BIGINT" but
you can use ":name::BIGINT."  As far as we as developers are concerned,
the two should be interchangeable (and the documentation certainly
suggests that.)

At any rate even if you couldn't use that syntax, PHP shouldn't segfault.
>
> This was after 5 successive hits using the ?::BIGINT, ?::VARCHAR syntax.
>

Regards,
Andy

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

Предыдущее
От: Eric Chamberlain
Дата:
Сообщение: Re: Stored procedures, PDO, and PHP issue
Следующее
От: "Hajek, Nick"
Дата:
Сообщение: Re: Stored procedures, PDO, and PHP issue