History log of /PHP-5.4/ext/pdo_pgsql/pgsql_statement.c (Results 76 – 81 of 81)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# ef0de01b 13-Jan-2005 Wez Furlong

Take a blind stab at implementing scrollable cursors for pgsql.
We allocate a unique cursor name for each statement, so that we
don't interfere with other open statement handles on the same d

Take a blind stab at implementing scrollable cursors for pgsql.
We allocate a unique cursor name for each statement, so that we
don't interfere with other open statement handles on the same dbh.

Note, however, that we force a new transaction for each open scrollable cursor
(postgres requires cursors to be used inside a transaction). This is okay,
except for the case where a scrollable cursor is opened, an update is made and
the cursor is closed; closing the cursor commits the transaction that was begun
when it was opened.

It might well be better to avoid the transaction in PDO and force the user to
be aware of the requirements of cursors and explicitly initiate the transaction
themselves.

This is all untested code; it compiles and looks like it will work, but I
encourage someone with a real postgres setup to actually sit down and try to
use it.

show more ...


# d3ab27f7 12-Jan-2005 Wez Furlong

stub out scrollable cursors


Revision tags: php-5.0.3, php-4.3.10, SQLITE_4_3_20041227, php-5.0.3RC2, php-4.3.10RC2, php-5.0.3RC1, php-4.3.10RC1, PRE_NEW_VM_GEN_PATCH, php-5.0.2, php-4.3.9, php-5.0.2RC1, php-4.3.9RC3, PRE_ZEND_VM_DISPATCH_PATCH, php-4.3.9RC2, php-5.0.1, php-5.0.1RC2, php-4.3.9RC1, php-5.0.1RC1, RELEASE_0_1, php-5.0.0RC4, php-5.0.0, php-4.3.8, php-5.0.0RC3, php-5.0.0RC3RC2, php-4.3.7, php-5.0.0RC3RC1, php-4.3.7RC1, RELEASE_0_1_1
# b7784d96 20-May-2004 Ilia Alshanetsky

Fixed possible crash.


# 38eb52b8 20-May-2004 Ilia Alshanetsky

Make doer() work.
Make error reporting system work.


# 0699938b 20-May-2004 Wez Furlong

Don't dup here, PDO will do it as needed


# 9d6c2599 20-May-2004 Edin Kadribasic

PostgreSQL PDO driver.


1234