Ilia Alshanetsky
230c991f23
MFB: Fixed test
17 years ago
Felipe Pena
4342d0b6b7
- Fix test
17 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
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
Felipe Pena
effcd82e54
- MFB: New parameter parsing API
- Fixed tests
18 years ago
Ilia Alshanetsky
1e6e22885d
MFB: Fixed bug #42783 (pg_insert() does not accept an empty list for
19 years ago
Antony Dovgal
ccd97f3a21
fix test names
19 years ago
Marcus Boerger
81954dcf78
- Fixed #36625 pg_trace() does not work
20 years ago
Marcus Boerger
08bccb4a72
- Fix tests
20 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
6355dc71df
- Make test check for PlPgSQL before using it
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
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
Yasuo Ohgaki
a9452edac7
Add notice message test
# Need to figure out why estrduped string is not null terminated
24 years ago
Yasuo Ohgaki
d84f0e5530
Update message
24 years ago
Yasuo Ohgaki
04691a516b
Add bytea field to test table.
Use table name variable.
24 years ago