Re: Practical Cursors

Sam Tregar <sam@tregar.com>

From: Sam Tregar <sam@tregar.com>
To: "Command Prompt, Inc." <pgsql-general@commandprompt.com>
Cc: <pgsql-general@postgresql.org>
Date: 2001-09-18T05:44:14Z
Lists: pgsql-general
On Mon, 17 Sep 2001, Command Prompt, Inc. wrote:

> Is this truly the case, or is there a way for PostgreSQL to remember the
> connection identifier so that the next time a PHP connection is made with
> the same identifier a transaction can be completed?

Anything is possible - you could write a server process that associates
cursors with session IDs and then have your PHP app make requests through
the server.  Would it be a good idea?  Probably not.  Would it qualify as
"practical postgres" usage?  Definitely not!  I'd call it an impractical
idea that might be possible through a lot of hard work.

-sam