History log of /PHP-7.2/ext/pdo_pgsql/pgsql_statement.c (Results 101 – 125 of 135)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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
# 6cc5e191 24-Sep-2005 Wez Furlong

Refs #34630


Revision tags: RELEASE_1_0RC1
# edc39221 10-Sep-2005 Wez Furlong

if a php bolean makes it as far as the parameter callback, it must really need
to be boolean; express is as native pgsql 't' or 'f'.

Add a test case for Bug #33876, which is a partially

if a php bolean makes it as far as the parameter callback, it must really need
to be boolean; express is as native pgsql 't' or 'f'.

Add a test case for Bug #33876, which is a partially bogus bug.

show more ...


Revision tags: PRE_NEW_OCI8_EXTENSION, php-5.1.0RC2_PRE, php-5.0.5
# 38317bb3 03-Sep-2005 Edin Kadribasic

Don't crash on invalid parameter #34203 (Wez)


Revision tags: 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, php-5.1.0b3, php-4.4.0
# 858d8277 09-Jul-2005 Ilia Alshanetsky

Added cursor closer handler.
Fixed memory leak.


# 6ee00c81 08-Jul-2005 Wez Furlong

fix leak


# 6377c0cc 08-Jul-2005 Wez Furlong

Fix PECL #4753


# 512af63a 08-Jul-2005 Wez Furlong

rewrite original names to our preferred format


# 2301d931 08-Jul-2005 Ilia Alshanetsky

Some of us don't have PostgreSQL 8.0 :)


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


# 75cfa5c2 03-Jul-2005 Wez Furlong

probable fix for PECL bug #4546


# 7ef1a915 01-Jul-2005 Edin Kadribasic

Fold PQresultErrorField() into a macro


Revision tags: php-4.4.0RC2, 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
# 3e6fce84 23-Mar-2005 Christopher Kings-Lynne

- Use a replacement for PQunescapeBytea so that linking against a pre-7.3
libpq is possible. This is exactly what ext/pgsql currently does.

# I hope this is an acceptable improvement.


Revision tags: php-5.0.4RC1, php-4.3.11RC1
# cdb042f6 10-Mar-2005 Marcus Boerger

- Fix fetching bound vars & tests


Revision tags: RELEASE_0_2_4
# 2c306869 15-Feb-2005 Edin Kadribasic

Fixed bug #3478: handling of 64bit return values on 32bit machine


Revision tags: RELEASE_0_2_3, RELEASE_0_2_2, RELEASE_0_2_1, RELEASE_0_2
# af162668 07-Feb-2005 Wez Furlong

fix pointer indirection (and thus leak)


# 22ff90f7 06-Feb-2005 Edin Kadribasic

Adjust for the new get_col api


# bf77a393 05-Feb-2005 Edin Kadribasic

Decode pgsql LOB objects (bytea type) on fetch


# 95cc2084 05-Feb-2005 Edin Kadribasic

Removed unused variebles.
Return OID as int.


# 1a962e9d 04-Feb-2005 Edin Kadribasic

Get OID of the last inserted row


# 60f5e66a 23-Jan-2005 Edin Kadribasic

Add support for fetching meta data


123456