Matteo Beccati
238a51ec6e
Fixed a few false positives on gcov for ext/pgsql
15 years ago
Felipe Pena
ccfe9c30aa
- Fixed bug #47199 (pg_delete() fails on NULL)
patch by: ewgraf at gmail dot com
16 years ago
Matteo Beccati
170683352d
- Added unicode support to ext/pgsql
# Also fixed a few typos and compiler warnings
16 years ago
Matteo Beccati
166b3ef63d
Removed spurious high-ascii char from previous commmit
16 years ago
Matteo Beccati
07d93817c9
- Updated ext/pgsql tests to work w/ PostgreSQL 8.5
# tested w/ 8.5alpha3
16 years ago
Matteo Beccati
09587d3cbf
- Updated ext/pgsql tests to work w/ PostgreSQL 8.5
# tested w/ 8.5alpha3
16 years ago
Ilia Alshanetsky
230c991f23
MFB: Fixed test
17 years ago
Ilia Alshanetsky
309533842f
MFB: ext/pgsql/tests/80_bug14383.phpt
17 years ago
Felipe Pena
d295d9113e
- MFH: Fix test
17 years ago
Felipe Pena
4342d0b6b7
- Fix test
17 years ago
Felipe Pena
8563497a94
MFH:
- Fixed:
. Memory leak in pg_delete() when using PGSQL_DML_STRING.
. Bug #24679 (pg_insert problem!)
. Bug #35996 (pg_meta_data should take the schema into account)
. Bug #40808 (pg_insert problem)
. Bug #42078 (pg_meta_data mix tables metadata from different schemas)
- Improved:
. Error messages
- Added:
. Tests
18 years ago
Felipe Pena
e6194c69f0
- Fixed:
. Memory leak in pg_delete() when using PGSQL_DML_STRING.
. Bug #24679 (pg_insert problem!)
. Bug #35996 (pg_meta_data should take the schema into account)
. Bug #40808 (pg_insert problem)
. Bug #42078 (pg_meta_data mix tables metadata from different schemas)
- Improved:
. Error messages
- Added
. Tests
18 years ago
Felipe Pena
310ac30e5a
MFH:
- Fixed bug #37100 (data is returned truncated with BINARY CURSOR)
Patch by Tony
18 years ago
Felipe Pena
ee5494ac9e
- Fixed bug #37100 (data is returned truncated with BINARY CURSOR)
Patch by Tony
18 years ago
Hartmut Holzgraefe
d11e0df7ad
MFB + Unicode:
added support for object ids in pg_lo_create() and pg_lo_import()
where available (based on code provided by Tatsuo Ishii)
18 years ago
Hartmut Holzgraefe
6fcc0ec369
splitted test cases for lo_create and lo_import, added version aware
SKIP tests
18 years ago
Hartmut Holzgraefe
432b57b2ae
added support for object ids in pg_lo_create() and pg_lo_import() where available
(based on code provided by Tatsuo Ishii)
18 years ago
Felipe Pena
effcd82e54
- MFB: New parameter parsing API
- Fixed tests
18 years ago
Felipe Pena
4fe93ca55d
- Fixed test
18 years ago
Ilia Alshanetsky
1e6e22885d
MFB: Fixed bug #42783 (pg_insert() does not accept an empty list for
19 years ago
Ilia Alshanetsky
f6b761b0ac
Fixed bug #42783 (pg_insert() does not accept an empty list for insertion)
19 years ago
Antony Dovgal
1f65545121
fix test names
19 years ago
Antony Dovgal
ccd97f3a21
fix test names
19 years ago
Ilia Alshanetsky
79d524dc1e
Fixed bug #39971 (pg_insert/pg_update do not allow now() to be used for
19 years ago
Hannes Magnusson
f4e63cbece
Fix test
19 years ago
Marcus Boerger
0bcd459300
- bug #36625 fix
20 years ago
Marcus Boerger
81954dcf78
- Fixed #36625 pg_trace() does not work
20 years ago
Marcus Boerger
8479546920
- MFH Fix tests
20 years ago
Marcus Boerger
08bccb4a72
- Fix tests
20 years ago
Ilia Alshanetsky
6654b31e26
fixed test for ZTS
20 years ago
Marcus Boerger
ae1d56d098
- MFH Bug #32223 weird behaviour of pg_last_notice
21 years ago
Marcus Boerger
66a9b0b6ae
- Fix Bug #32223 weird behaviour of pg_last_notice
21 years ago
Marcus Boerger
8f4f012a2c
- Apply workaround for test until someone fixes the issue (which is unrelated to pg_*())
21 years ago
Marcus Boerger
91682f88e4
- MFH Make test check for PlPgSQL before using it
21 years ago
Marcus Boerger
6355dc71df
- Make test check for PlPgSQL before using it
21 years ago
Marcus Boerger
a8c5828ce0
- MFH Add new test
21 years ago
Marcus Boerger
362ea7143e
- Add new test
21 years ago
Christopher Kings-Lynne
030ebaaa45
(PHP pg_unescape_bytea) Use libpq version of PQunescapeBytea if it exists.
# The version in libpq is newer and faster than the one in PHP, but it is
# necessary for me to add a string copy for freeing purposes. This copy
# is only needed in Windows AFAIK, how can I detect that?
21 years ago
Christopher Kings-Lynne
63ed4a1996
- Ensure that ext/pgsql tests work when linked against 7.2 or lower libpq
21 years ago
Christopher Kings-Lynne
e2b87e6230
Tweak some #if's to be more orthogonal.
(PHP pg_set_error_verbosity) New function to set PostgreSQL error verbosity
(PHP pg_copy_from) Use non-deprecated API if it is available
(PHP pg_copy_to) Use non-deprecated API if it is available
21 years ago
Christopher Kings-Lynne
721d34bebc
Two of the diagnostic definitions were added in 8.0. Add appropriate #ifdefs.
21 years ago
Marcus Boerger
d23781e08d
- Add missing skipif part
21 years ago
Christopher Kings-Lynne
e4570cdbd2
Add regression tests for pg_transaction_status and pg_result_error_field
21 years ago
Christopher Kings-Lynne
1168c30635
Added several new functions to support the PostgreSQL v3 protocol
introduced in PostgreSQL 7.4.
(PHP pg_transaction_status) New function to get in-transaction status of
a database connection.
(PHP pg_query_params) New function to allow execution of parameterized
queries.
(PHP pg_prepare) New function to allow preparing named queries.
(PHP pg_execute) New function to allow execution of named prepared
queries.
(PHP pg_send_query_params) New function that is the async equivalent of
pg_query_params.
(PHP pg_send_prepare) New function that is the async equivalent of
pg_prepare.
(PHP pg_send_execute) New function that is the async equivalent of
pg_execute.
(PHP pg_result_error_field) New function that allows highly detailed
error information, most importantly the
SQLSTATE error code
# Regression tests are included for all but 2 functions, the rest will
# follow shortly. Docs will also follow shortly.
21 years ago
Marcus Boerger
b83663e0f2
Keep BC of pg_fetch_object
22 years ago
Marcus Boerger
0ace9f4885
Bugfix #27597 pg_fetch_array not returning false .
22 years ago
Marcus Boerger
1651be020a
Show the connect result
22 years ago
Ilia Alshanetsky
20d64aa24e
Make test work with PostgreSQL 7.4
22 years ago
Marcus Boerger
37bcfda978
#args, reinsert skipif for extension check
23 years ago
Marcus Boerger
4a66bd9394
Do not dynamically load the extension in skipif
23 years ago