Re: Using Cursors in PHP

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: Using Cursors in PHP
Дата
Msg-id Pine.LNX.4.33.0308080733090.20552-100000@css120.ihs.com
обсуждение исходный текст
Ответ на Re: Using Cursors in PHP  (Rod Taylor <rbt@rbt.ca>)
Список pgsql-php
On Fri, 8 Aug 2003, Rod Taylor wrote:

> > I don't think so.  Basically, PHP is supposed to reset the connection if
> > it's persistant, and if it isn't persistant, then it's always a new
> > connection, which means a cursor shouldn't survive.
> >
> > But I'm NOT familiar with "WITH HOLD" right now, so someone else who knows
> > that better may have a more definitive answer.
>
> Yup.. This is where you setup a little Java to deal with persistent
> database elements like this and hook into it via PHP.  It's a little
> nasty at the moment (though functional) but is supposedly greatly
> improved in PHP 5.
>
> http://ca2.php.net/manual/en/ref.java.php

Java providing connection pooling for PHP.  Sweet!


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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: Using Cursors in PHP
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Using Cursors in PHP