Marcus Boerger
0bcd459300
- bug #36625 fix
2006-03-13 22:56:20 +00:00
Marcus Boerger
8479546920
- MFH Fix tests
2005-12-31 17:42:39 +00:00
Ilia Alshanetsky
6654b31e26
fixed test for ZTS
2005-12-18 14:22:48 +00:00
Marcus Boerger
ae1d56d098
- MFH Bug #32223 weird behaviour of pg_last_notice
2005-11-07 12:57:49 +00:00
Marcus Boerger
91682f88e4
- MFH Make test check for PlPgSQL before using it
2005-10-09 15:58:13 +00:00
Marcus Boerger
a8c5828ce0
- MFH Add new test
2005-10-09 15:14:22 +00:00
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?
2005-03-25 06:26:31 +00:00
Christopher Kings-Lynne
63ed4a1996
- Ensure that ext/pgsql tests work when linked against 7.2 or lower libpq
2005-03-23 03:24:41 +00:00
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
2005-03-22 08:51:23 +00:00
Christopher Kings-Lynne
721d34bebc
Two of the diagnostic definitions were added in 8.0. Add appropriate #ifdefs.
2005-03-20 02:46:02 +00:00
Marcus Boerger
d23781e08d
- Add missing skipif part
2005-03-19 10:58:44 +00:00
Christopher Kings-Lynne
e4570cdbd2
Add regression tests for pg_transaction_status and pg_result_error_field
2005-03-19 09:20:52 +00:00
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.
2005-03-19 08:46:56 +00:00
Marcus Boerger
b83663e0f2
Keep BC of pg_fetch_object
2004-03-15 20:16:59 +00:00
Marcus Boerger
0ace9f4885
Bugfix #27597 pg_fetch_array not returning false .
2004-03-15 19:47:18 +00:00
Marcus Boerger
1651be020a
Show the connect result
2004-03-09 14:37:49 +00:00
Ilia Alshanetsky
20d64aa24e
Make test work with PostgreSQL 7.4
2003-12-23 17:33:06 +00:00
Marcus Boerger
37bcfda978
#args, reinsert skipif for extension check
2003-12-06 20:41:07 +00:00
Marcus Boerger
4a66bd9394
Do not dynamically load the extension in skipif
2003-12-06 20:35:41 +00:00
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.
2003-09-06 18:34:55 +00:00
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.
2003-08-28 00:29:44 +00:00
Marcus Boerger
ec9ae45e2f
Add reson
2003-07-22 23:01:24 +00:00
Marcus Boerger
db86597e88
Add test for bug #24499
2003-07-20 20:27:43 +00:00
Marcus Boerger
f970724d79
Do not test postgres settings
2003-06-30 18:00:30 +00:00
Marcus Boerger
a7d485143c
Update
2003-05-31 12:54:20 +00:00
Marcus Boerger
1eec984976
Fix handling of default links
2003-05-30 16:51:00 +00:00
Marcus Boerger
3dbe16cac4
Fix notice handling
2003-05-30 15:42:46 +00:00
Marcus Boerger
680653fecb
- Fix ini handling in ZTS mode
2003-05-30 15:07:02 +00:00
Marcus Boerger
daded6e633
Reorganized tests
2003-05-20 00:14:46 +00:00
Marcus Boerger
8579756c05
Test for bug #14383
2002-11-14 20:30:53 +00:00
Yasuo Ohgaki
5693bd4cdf
Added tests for new functions
2002-10-18 07:52:09 +00:00
Yasuo Ohgaki
f8f11ac0a2
Rename pg_metadata() to pg_meta_data() to confirm naming standard
2002-10-02 02:11:27 +00:00
Yasuo Ohgaki
c5b4a507fe
Added test for pg_fetch_*() functions
2002-04-25 07:52:01 +00:00
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.
2002-04-23 03:42:26 +00:00
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)
2002-04-20 14:06:47 +00:00
Yasuo Ohgaki
825e011805
Update tests
2002-04-19 12:24:58 +00:00
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)
2002-04-08 01:37:38 +00:00
Yasuo Ohgaki
179a52b025
Chages for new pg_last_notice()
2002-04-06 06:42:02 +00:00
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.
2002-04-05 07:57:33 +00:00
Yasuo Ohgaki
a9452edac7
Add notice message test
...
# Need to figure out why estrduped string is not null terminated
2002-04-05 06:30:18 +00:00
Yasuo Ohgaki
d84f0e5530
Update message
2002-04-05 06:07:46 +00:00
Yasuo Ohgaki
04691a516b
Add bytea field to test table.
...
Use table name variable.
2002-04-05 06:06:21 +00:00
Yasuo Ohgaki
22007a29de
Add real pg_escape_bytea() test.
2002-04-05 06:05:28 +00:00
Yasuo Ohgaki
24b76bba21
Fix tests
2002-04-04 15:25:46 +00:00
Yasuo Ohgaki
68f8029fbb
Added pg_escape_*() test
2002-04-04 13:59:44 +00:00
Yasuo Ohgaki
7d819fc0cf
Fix bug in test script
2002-01-10 06:44:02 +00:00
Yasuo Ohgaki
3778705036
Actually drop test table.
...
# name is dropdb since it may be changed to actually destory test db
2001-12-17 02:20:43 +00:00
Yasuo Ohgaki
0f12a9ca33
Use database named test for testing
2001-12-17 02:09:07 +00:00
Yasuo Ohgaki
9a40810c85
Added test files
2001-12-17 00:16:48 +00:00