History log of /PHP-5.5/ext/pdo_pgsql/pgsql_driver.c (Results 51 – 75 of 123)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.2.3, RELEASE_1_4, php-5.2.3RC1, RELEASE_1_2_0, php-4.4.7, php-5.2.2, php-5.2.2RC2, RELEASE_1_1_0, php-4.4.7RC1, php-5.2.2RC1, RELEASE_1_0_1, php-4.4.6, php-4.4.6RC1, php-4.4.5, php-5.2.1, RELEASE_1_0_0RC1, php-4.4.5RC2, php-5.2.1RC4, php-5.2.1RC3, php-4.4.5RC1, php-5.2.1RC2
# 4223aa4d 01-Jan-2007 Sebastian Bergmann

MFH: Bump year.


# d2576966 18-Dec-2006 Ilia Alshanetsky

Fixed bug #39845 (Persistent connections generate a warning in pdo_pgsql).


Revision tags: php-5.2.1RC1
# bfa4af46 29-Nov-2006 Ilia Alshanetsky

Fixed bug #39663 (Memory leak in pg_get_notify() and a possible memory
corruption on Windows in pgsql and pdo_pgsql extensions).


Revision tags: php-5.2.0, php-5.2.0RC6
# b43e18a7 06-Oct-2006 Ilia Alshanetsky

Make quote() in PostgreSQL use PQescapeByteaConn() whenever possible for
binary strings.


Revision tags: php-5.2.0RC5
# 40765184 04-Oct-2006 Ilia Alshanetsky

Added support for character sets in PDO quote() method for PostgreSQL
8.1.4 and higher.


# 2332e4f9 19-Sep-2006 Ilia Alshanetsky

Fixed bug #37870 (pgo_pgsql tries to de-allocate unused statements).
Fixed bug #36681 (pdo_pgsql driver incorrectly ignored some errors).
Fixed test for bug #38253 not to use faulty SQL that

Fixed bug #37870 (pgo_pgsql tries to de-allocate unused statements).
Fixed bug #36681 (pdo_pgsql driver incorrectly ignored some errors).
Fixed test for bug #38253 not to use faulty SQL that generates errors in
PostgreSQL

show more ...


Revision tags: php-5.2.0RC4, php-5.2.0RC3, php-5.1.6, php-5.2.0RC2, php-5.1.5, php-4.4.4, php-4.4.4RC1, php-5.1.5RC1, php-4.4.3, php-5.2.0RC1, php-4.4.3RC2, BEFORE_NEW_OUTPUT_API, php-4.4.3RC1
# 79ebfe38 08-May-2006 Ilia Alshanetsky

Fixed memory leaks when working with cursors in PDO PostgreSQL driver.


Revision tags: php-5.1.4, RELEASE_1_0_3, php-5.1.3, php-5.1.2, RELEASE_1_3, php-5.1.3RC3
# f83cfb77 09-Apr-2006 Wez Furlong

be aware of PDO_ATTR_EMULATE_PREPARES


Revision tags: php-5.1.3RC2
# c69f100d 13-Mar-2006 Edin Kadribasic

Fixed build


Revision tags: php-5.1.3RC1, RELEASE_1_2
# 1a170a3d 13-Feb-2006 Derick Rethans

- Fixed bug #36382 (PDO/PgSQL's getColumnMeta() crashes).


# 9b0f4a62 29-Jan-2006 Ilia Alshanetsky

Fixed bug #36176 (PDO_PGSQL - PDO::exec() does not return number of rows
affected by the operation).


Revision tags: RELEASE_0_9_4, RELEASE_1_0_4, php-4.4.2, php-5.1.2RC2, php-4.4.2RC2
# 5bd93221 01-Jan-2006 foobar

bump year and license version


Revision tags: php-5.1.2RC1
# 81c25d87 20-Dec-2005 Marcus Boerger

- Get rid of compiler warnings (both postgres an dphp use these defines)


Revision tags: RELEASE_1_1_1, RELEASE_1_1
# 5e223ad1 06-Dec-2005 Marcus Boerger

- Fix TSRM


Revision tags: RELEASE_1_0
# 3e669bc9 06-Dec-2005 foobar

MFH: nuke php3 legacy


Revision tags: RELEASE_2_0_2
# 4e03ce9f 01-Dec-2005 Ilia Alshanetsky

Fixed memory leaks


# 911355be 30-Nov-2005 Ilia Alshanetsky

Fixed memory leak


# d79e01e2 29-Nov-2005 Ilia Alshanetsky

Fixed compiler warnings


# 40666b67 29-Nov-2005 Wez Furlong

proto fixups


# 13103335 29-Nov-2005 Wez Furlong

Added PDO::pgsqlLOBCreate(), PDO::pgsqlLOBOpen() and PDO::pgsqlLOBUnlink().


Revision tags: php-5.1.1
# 70331c36 25-Nov-2005 Wez Furlong

Addresses #35338.

Postgres client API is pretty poor, so we have zero idea about the actual
parameter types in a statement.

We now defer the preparation of a statement until the

Addresses #35338.

Postgres client API is pretty poor, so we have zero idea about the actual
parameter types in a statement.

We now defer the preparation of a statement until the first call to execute is
made. At that point, we have the parameters defined by the calling script, so
we can use the typing specified there when we perform the prepare.

For PDO_PARAM_LOB parameters, we set the binary formatting flag.

We can't just set this flag for all parameters, because its meaning is not
"string data, counted length" but "data is in native format". If this flag is
set for a numeric column and we send the number 1 formatted as a string, then
we will get an "insufficient data left in message" error message, because the
library was expecting sizeof(int4) bytes but only saw 1 byte for "1".

This is infuriating because we have no way to determine the datatypes for
parameters, and the type we explicitly set has to match the type in the
database. The only choice we're left with is telling postgres to deduce the
type; we still have no idea what type was deduced.

show more ...


Revision tags: php-5.1.0, php-4.4.2RC1, RELEASE_0_9_3, php-5.1.0RC6, php-5.1.0RC5, RELEASE_2_0_1, RELEASE_1_0RC2, php-4.4.1, php-5.1.0RC4, RELEASE_0_9_2, RELEASE_0_9_1, php-5.1.0RC3, php-5.1.0RC2, php-4.4.1RC1, RELEASE_0_9_0, RELEASE_1_0RC1, PRE_NEW_OCI8_EXTENSION, php-5.1.0RC2_PRE, php-5.0.5, php-5.0.5RC2, php-5.0.5RC1, php-5.1.0RC1, BEFORE_UNICODE_MERGE, RELEASE_2_0_0
# 23e671a5 03-Aug-2005 foobar

- Bumber up year


Revision tags: RELEASE_0_9
# 79f3cb98 20-Jul-2005 Wez Furlong

Add PDO_PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT attribute, which, when set
to true, forces the driver to use PDO's own emulated prepared statement
support.

Why would you want th

Add PDO_PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT attribute, which, when set
to true, forces the driver to use PDO's own emulated prepared statement
support.

Why would you want that, considering that native prepared statements are
supposed to be the best thing ever?

"Often postgresql will have to plan the query without knowing the parameters -
and it will choose a bad plan. In some cases it will plan based on the first
parameters you send. "

Ugh. So now we have a way to let you decide that you know better than the
pgsql query planner.

show more ...


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


12345