History log of /PHP-7.4/ext/pdo_pgsql/pgsql_driver.c (Results 151 – 175 of 200)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.1.0b3, php-4.4.0
# 858d8277 09-Jul-2005 Ilia Alshanetsky

Added cursor closer handler.
Fixed memory leak.


# 529d8177 08-Jul-2005 Wez Furlong

Add early support for native prepared statements in pgsql.
Note that some tests now fail; if we can't resolve this in time for the beta,
the prepare code should be disabled (I'll add a flag f

Add early support for native prepared statements in pgsql.
Note that some tests now fail; if we can't resolve this in time for the beta,
the prepare code should be disabled (I'll add a flag for this later today).

show more ...


# 6c332449 07-Jul-2005 Ilia Alshanetsky

Use PQexecParams() when available, use original case in all other instances.


# 10e1eecf 07-Jul-2005 Ilia Alshanetsky

Leave it up to the user to decide if to escape the sequence name or not.


# bcb447f6 07-Jul-2005 Ilia Alshanetsky

Faster sequence id retrieval.


# f05de12f 01-Jul-2005 Edin Kadribasic

Only check for InvalidOid when not looking up a sequence


# 7ef1a915 01-Jul-2005 Edin Kadribasic

Fold PQresultErrorField() into a macro


# 1a10666b 01-Jul-2005 Edin Kadribasic

Added support for fetching current value of a sequence when the
optional sequence name has been passed to PDO::lastInsertId()


Revision tags: php-4.4.0RC2
# 613d30f2 30-Jun-2005 Ilia Alshanetsky

Silence warnings.


# 8c0dc5e8 28-Jun-2005 Ilia Alshanetsky

Make exec() return FALSE on error as do other drivers.


# 3fe8b559 28-Jun-2005 Ilia Alshanetsky

Fixed double-free bug.


# f04cbae3 28-Jun-2005 Ilia Alshanetsky

fixed oid retrieval.


Revision tags: php-5.1.0b2, php-4.4.0RC1, php-5.1.0b1, php-5.0.1b1
# fa0e534f 18-May-2005 Ilia Alshanetsky

Various compiler warning fixes.


# 4f778ca3 13-May-2005 Wez Furlong

patch by Christopher Kings-Lynne, slightly modified


Revision tags: RELEASE_0_3, php-5.0.4, php-4.3.11, php-5.0.4RC2, php-4.3.11RC2, php-5.0.4RC1, php-4.3.11RC1
# 2c5b2fc1 26-Feb-2005 Wez Furlong

Alan: moved your fields away, but reserved you a pointer.

Changed PDO::lastInsertId() to have following proto:

string PDO::lastInsertId([string name])

this allows a

Alan: moved your fields away, but reserved you a pointer.

Changed PDO::lastInsertId() to have following proto:

string PDO::lastInsertId([string name])

this allows arbitrary unique identitifers to be returned from the driver.

The optional name parameter is for databases that require additional contextual
information to be able to return the correct identifier. None currently use
it, but pgsql will be on the list of drivers that do.

show more ...


# a455c7ab 20-Feb-2005 Marcus Boerger

- Shutup notices


Revision tags: RELEASE_0_2_4, RELEASE_0_2_3
# 9b394af9 12-Feb-2005 Ilia Alshanetsky

Simplify code and fix compiler warning.


Revision tags: RELEASE_0_2_2, RELEASE_0_2_1, RELEASE_0_2
# accdde8c 06-Feb-2005 Edin Kadribasic

Finalized pgsql LOB support using native pgsql bytea type.
If paramater is bound with type PDO_PARAM_LOB the quoter function
gets a hint that specific LOB type quoting should be used:

Finalized pgsql LOB support using native pgsql bytea type.
If paramater is bound with type PDO_PARAM_LOB the quoter function
gets a hint that specific LOB type quoting should be used:

$stmt->bindParam(":lob", $lob, PDO_PARAM_LOB);

show more ...


# bf77a393 05-Feb-2005 Edin Kadribasic

Decode pgsql LOB objects (bytea type) on fetch


# 996b464e 03-Feb-2005 Ilia Alshanetsky

Use the created connection string.


# 60f5e66a 23-Jan-2005 Edin Kadribasic

Add support for fetching meta data


# 26f97a91 21-Jan-2005 Wez Furlong

Eliminate unused parameter.
Don't start a transaction when asking for a cursor with pgsql.
Fix parameter binding for sqlite3


# a9d98544 18-Jan-2005 Wez Furlong

Allow drivers to select bind emulation on a per statement basis


# 095a6f1e 17-Jan-2005 Edin Kadribasic

Use PQescapeBytea() for quoting. Need to think how to add binary safe
quoting for blobls (pgsql bytea type).
Fixes #2818


# 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 ...


12345678