Ilia Alshanetsky
309533842f
MFB: ext/pgsql/tests/80_bug14383.phpt
17 years ago
Felipe Pena
d295d9113e
- MFH: 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
310ac30e5a
MFH:
- Fixed bug #37100 (data is returned truncated with BINARY CURSOR)
Patch by Tony
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
4fe93ca55d
- Fixed test
18 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
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
20 years ago
Marcus Boerger
0bcd459300
- bug #36625 fix
20 years ago
Marcus Boerger
8479546920
- MFH Fix tests
21 years ago
Ilia Alshanetsky
6654b31e26
fixed test for ZTS
21 years ago
Marcus Boerger
ae1d56d098
- MFH Bug #32223 weird behaviour of pg_last_notice
21 years ago
Marcus Boerger
91682f88e4
- MFH Make test check for PlPgSQL before using it
21 years ago
Marcus Boerger
a8c5828ce0
- MFH 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
23 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
Marcus Boerger
f6239c33bc
Modify pg_fetch_object() to be able to instantiate a selected class and pass
parameters to the constructor. Update tests and add a test for these features.
23 years ago
Ilia Alshanetsky
e5879a5060
Fixed tests that failed in ZTS due to incorrect file paths.
Fixed test that failed due to new array dimension property being fetched.
23 years ago
Marcus Boerger
ec9ae45e2f
Add reson
23 years ago
Marcus Boerger
db86597e88
Add test for bug #24499
23 years ago
Marcus Boerger
f970724d79
Do not test postgres settings
23 years ago
Marcus Boerger
a7d485143c
Update
23 years ago
Marcus Boerger
1eec984976
Fix handling of default links
23 years ago
Marcus Boerger
3dbe16cac4
Fix notice handling
23 years ago
Marcus Boerger
680653fecb
- Fix ini handling in ZTS mode
23 years ago
Marcus Boerger
daded6e633
Reorganized tests
23 years ago
Marcus Boerger
8579756c05
Test for bug #14383
24 years ago
Yasuo Ohgaki
5693bd4cdf
Added tests for new functions
24 years ago
Yasuo Ohgaki
f8f11ac0a2
Rename pg_metadata() to pg_meta_data() to confirm naming standard
24 years ago
Yasuo Ohgaki
c5b4a507fe
Added test for pg_fetch_*() functions
24 years ago
Yasuo Ohgaki
e7e0eddadd
Make pg_convert/pg_insert/pg_select/pg_update/pg_delete a bit more flexible.
pg_convert() may ignore, NOT NULL and/or DEFAULT.
pg_insert/pg_update/pg_select/pg_update may return query string.
24 years ago
Yasuo Ohgaki
3087b96ece
Make pg_lo_import()/pg_lo_unlink()/pg_lo_open()/pg_lo_export() work with oid larger than 2^31.
@Added large OID value (2^31 to 2^32) support for pg_lo_import()/pg_lo_unlink()/pg_lo_open()/pg_lo_export(). (Yasuo)
24 years ago
Yasuo Ohgaki
825e011805
Update tests
24 years ago
Yasuo Ohgaki
4ac70c6821
Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update()
and pg_delete().
@ Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update()
@ and pg_delete(). (Yasuo)
24 years ago
Yasuo Ohgaki
179a52b025
Chages for new pg_last_notice()
24 years ago
Yasuo Ohgaki
1abb9cd02c
Add error message from _notice_handler()
# Currently, it always logs whennever notice message is
# recieved. I'll change error log optional later.
24 years ago