Remi Collet
1c623e3b07
Fixed Bug #64949 (Buffer overflow in _pdo_pgsql_error)
There is a lot of call such as:
pdo_pgsql_error(dbh, PGRES_FATAL_ERROR, "Copy command failed");
Where the 3rd paramater is a error message string where a sqlstate (5 chars)
is expected. This cause a segfault in copy_from.phpt and copy_to.phpt.
This is only a sanity check to avoid buffer overflow, but obviously this
calls need to be fixed (using NULL or a correct sqlstate).
13 years ago
Xinchen Hui
0a7395e009
Happy New Year
13 years ago
Xinchen Hui
a2045ff332
Happy New Year~
13 years ago
Gustavo André dos Santos Lopes
fee191658d
- Fixed bug #61267 : pdo_pgsql's PDO::exec() returns the number of SELECTed
rows on postgresql >= 9
14 years ago
Gustavo André dos Santos Lopes
b7c9f8ae8a
- Fixed bug #61267 : pdo_pgsql's PDO::exec() returns the number of SELECTed
rows on postgresql >= 9
14 years ago
Felipe Pena
e4ca0ed09f
- Year++
14 years ago
Felipe Pena
4e19825281
- Year++
14 years ago
Felipe Pena
23e438594d
- Make usage of new PHP_FE_END macro
15 years ago
Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
15 years ago
Felipe Pena
191df85605
- Drop C++ style comments
15 years ago
Felipe Pena
c776180f6e
- Drop C++ style comments
15 years ago
Felipe Pena
32b5f8a1a3
- Added new parameter parsing option (p - for valid path (string without null byte in the middle))
# The tests will be fixed in the next commits
15 years ago
Felipe Pena
927bf09c29
- Year++
15 years ago
Felipe Pena
0203cc3d44
- Year++
15 years ago
Ilia Alshanetsky
24b8bc3489
Removed the in_transaction handler for 5.3 to avoid BC break due to structure change
16 years ago
Ilia Alshanetsky
90906a91e9
Added inTransaction() method to PDO, with specialized support for Postgres
16 years ago
Ilia Alshanetsky
6ed1819bf4
Added inTransaction() method to PDO, with specialized support for Postgres
16 years ago
Ilia Alshanetsky
9daa864c4f
Added support for copy to/from array/file for pdo_pgsql extension.
# original patch by Denis Gasparin
16 years ago
Ilia Alshanetsky
7ea9e879f3
Added support for copy to/from array/file for pdo_pgsql extension.
# original patch by Denis Gasparin
16 years ago
Ilia Alshanetsky
d8a32814f7
Fixed bug #50728 (All PDOExceptions hardcode 'code' property to 0)
16 years ago
Ilia Alshanetsky
c2ed5e6f9d
Fixed bug #50728 (All PDOExceptions hardcode 'code' property to 0)
16 years ago
Ilia Alshanetsky
d2e14e3f20
Fixed bug #50728 (All PDOExceptions hardcode 'code' property to 0)
16 years ago
Sebastian Bergmann
16cb1cd469
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
16 years ago
Sebastian Bergmann
22f4ef45fe
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
16 years ago
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
16 years ago
Matteo Beccati
72997aa430
- Properly fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction).
# Removed usage of the memory address when generating prepared statemend names
# as uniqueness can't be enforced. Used a statment counter instead.
16 years ago
Matteo Beccati
fa67c860e0
- Properly fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction).
# Removed usage of the memory address when generating prepared statemend names
# as uniqueness can't be enforced. Used a statment counter instead.
16 years ago
Matteo Beccati
2a481b01fb
- Properly fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction).
# Removed usage of the memory address when generating prepared statemend names
# as uniqueness can't be enforced. Used a statment counter instead.
16 years ago
Matteo Beccati
be7b754b85
- Fixed bug #48764 (PDO_pgsql::query always uses implicit prepared statements if v3 proto available)
# original patch by Mark Kirkwood
17 years ago
Matteo Beccati
9ee8dd90a3
- Fixed bug #48764 (PDO_pgsql::query always uses implicit prepared statements if v3 proto available)
# original patch by Mark Kirkwood
17 years ago
Matteo Beccati
29b7b871b7
- Fixed bug #48764 (PDO_pgsql::query always uses implicit prepared statements if v3 proto available)
# original patch by Mark Kirkwood
17 years ago
Matteo Beccati
b8910c99ea
MFH:
- Removed HAVE_PQEXECPARAMS which was left out during the previous commit
17 years ago
Matteo Beccati
8511661571
- Removed HAVE_PQEXECPARAMS which was left out during the previous commit
17 years ago
Matteo Beccati
6e22ab5e3e
MFH:
- Changed PDO_PGSQL configure script to require libpq 7.4
- Cleaned up usage of HAVE_PQ* defines
- Fixed compiler warnings
- Removed custom implementation of PQunescapeByte
# Rationale:
# - PDO_PGSQL couldn't even compile when using libpq 7.3
# - PostgreSQL 7.3 is unsupported since a long time
# - Got consensus from pgsql devs on freenode
17 years ago
Matteo Beccati
c58c93b9b2
- Changed PDO_PGSQL configure script to require libpq 7.4
- Cleaned up usage of HAVE_PQ* defines
- Fixed compiler warnings
- Removed custom implementation of PQunescapeByte
# Rationale:
# - PDO_PGSQL couldn't even compile when using libpq 7.3
# - PostgreSQL 7.3 is unsupported since a long time
# - Got consensus from pgsql devs on freenode
17 years ago
Pierre Joye
1dc4ff564d
- MFB: fix build when pqprepare does not exist
17 years ago
Pierre Joye
ebfdd61503
- fix build when pqprepare does not exist
17 years ago
Matteo Beccati
61476ca182
MFB:
- Fixed bug #44861 (scrollable cursor don't work with pgsql)
17 years ago
Matteo Beccati
6c6c8febf1
- Fixed bug #44861 (scrollable cursor don't work with pgsql)
17 years ago
Matteo Beccati
dd6b8d4ceb
MFB:
- Updated pdo_pgsql from PHP_5_3
17 years ago
Marcus Boerger
d4f5b3f0a9
- This is PHP 6 - if this ... ever gets out
17 years ago
Sebastian Bergmann
ef49b9a8de
MFH: Bump copyright year, 3 of 3.
17 years ago
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
17 years ago
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
17 years ago
SVN Migration
3e94ce6a97
This commit was manufactured by cvs2svn to create tag 'NEWS'.
17 years ago
Sebastian Bergmann
d9f3a1305f
MFH: Bump copyright year, 2 of 2.
18 years ago
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
18 years ago
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
18 years ago
Ilia Alshanetsky
c10c2d102f
MFB: Fixed bug #43493 (pdo_pgsql does not send username on connect when
18 years ago
Ilia Alshanetsky
bb9384cb8a
MFB: Fixed bug #43493 (pdo_pgsql does not send username on connect when
18 years ago