Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Edin Kadribasic
18eb480dd2
MFH: Added pg_field_table() as per req: #36750
2006-05-07 00:28:32 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Ilia Alshanetsky
ef7bd06657
Added pg_fetch_all_columns() function to fetch all values of a column from
...
a result cursor.
2005-07-08 00:40:32 +00:00
Derick Rethans
cba30657d9
- MFH43: Fixed bug #32699 (pg_affected_rows() was defined when it was not
...
available).
2005-04-13 21:48:33 +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
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
Edin Kadribasic
70e0849416
Added pg_field_type_oid() function
2005-02-14 23:36:16 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Ilia Alshanetsky
fae56fca30
Removed a useless define.
2003-12-29 15:58:01 +00:00
Edin Kadribasic
32eb4f78c2
Get rid of PHPAPI usage.
...
Enable shared build in the new php5 build system
Check for the correct header.
2003-12-05 01:03:35 +00:00
Marcus Boerger
f5f60e6fea
Added new function pg_parameter_status()
2003-07-27 16:47:36 +00:00
Marcus Boerger
7a85edd370
Added pg_version() which returns an associative array of client/protocol/server
...
version.
@Added pg_version() function. (Marcus)
2003-07-22 23:05:17 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Marcus Boerger
680653fecb
- Fix ini handling in ZTS mode
2003-05-30 15:07:02 +00:00
Jay Smith
dcf0c70950
Fix 'timestamp without timezone', too.
2003-04-01 23:56:16 +00:00
Anantha Kesari H Y
b3d80fe441
Removed #ifdef NetWare and made the necessary changes in the directory structure of NetWare.
2003-01-06 10:28:34 +00:00
Anantha Kesari H Y
f58016b348
Makefile added newly and modified the header file for NetWare.
2003-01-06 09:05:03 +00:00
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
Yasuo Ohgaki
7094b48b23
Added pg_get_pid()
2002-10-17 23:41:34 +00:00
Yasuo Ohgaki
601a507ad6
Added async message function - pg_get_notify()
2002-10-17 07:58:46 +00:00
Yasuo Ohgaki
2c23e56c7f
Introduce connect_type option to pg_connect().
...
pg_connect(conn_str, conn_type) is allowed.
@Added PGSQL_CONNECT_FORCE_NEW option to pg_connect() (Yasuo)
# If you have better idea about constant name(s), let me know.
2002-10-13 09:37:27 +00:00
Yasuo Ohgaki
6edd9d2f72
Enable pg_escape_bytea().
2002-10-13 03:00:48 +00:00
Yasuo Ohgaki
1b675aa690
Rename pg_data_seek() to pg_result_seek().
...
Added mysql_result_seek() which is alias of mysql_data_seek().
2002-10-03 02:32:09 +00:00
Yasuo Ohgaki
b8fdd3c7ae
Added pg_data_seek().
...
pg_result_seek() woudl be better name, but there is mysql_data_seek()...
2002-10-02 03:16:35 +00:00
Yasuo Ohgaki
2728440fdc
Added pg_ping()
2002-10-02 02:41:21 +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
545f894524
Added pg_fetch_assoc(). Fixed proto. Added/fixed comments.
...
# It seems last attempt was failed. Try committing again.
2002-09-30 09:07:57 +00:00
Yasuo Ohgaki
36e80ddc15
Added pg_fetch_all() that fetch all rows in result.
...
Useful and faster when there is enough memory.
@Added pg_fetch_all() that fetch all rows in result. (Yasuo)
2002-07-21 07:25:10 +00:00
Edin Kadribasic
51cb237aa6
Fix win32 build.
2002-05-10 02:39:37 +00:00
Yasuo Ohgaki
c65a20df4a
pg_client_encoding/pg_set_client_encoding should be compiled always.
...
Recent libpq has PQclientEncoding/PQsetClientEncoding regarless of
multibyte support enabled or not.
Reported by c@cornelia-boenigk.de
# This should be merged, but need a little more testing.
2002-04-25 01:42:23 +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
04fb5ef2e3
Added API version for C programs
2002-04-20 02:38:30 +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
7ff1412432
Print PostgreSQL version number in phpinfo()
2002-03-31 01:18:32 +00:00
Yasuo Ohgaki
39ad453266
Clean up code.
...
Removed PHP_PGSQL_API macro.
Define pgsql_globals_id
# Need a little more clean up
2002-02-06 07:25:51 +00:00
Yasuo Ohgaki
b42f0b0d43
Make module specified functions to static.
...
Added TSRMLS_D/C, get rid of one TSRMLS_FETCH.
2002-02-06 07:16:10 +00:00
Yasuo Ohgaki
1ea87faeb1
Added "auto_reset_presistent" ini entry.
2002-01-25 00:43:50 +00:00
Yasuo Ohgaki
1fc2a27fa5
Funtion rename:
...
Functions are renamed accoding to coding stanard. Some functions has
completely different name now.
New functions:
pg_copy_to()/pg_copy_from() - by Youichi Iwakiri <yiwakiri@st.rim.or.jp>
pg_lo_tell()/pg_lo_seek()/pg_result_error()/pg_result_status()
pg_escape_string()/pg_escape_bytea() - Only pgsql 7.2 or later.
Fixed:
Wrong mode when clean up connection resource.
Compiler warning for pg_encoding_to_char().
# Please do not document new functions, yet.
# For new functions and other info, please read README
# in module dir.
2001-12-17 00:24:59 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Yasuo Ohgaki
db8bb9f23c
Added async query functions
2001-12-10 04:02:08 +00:00
Zeev Suraski
dd01c11ee3
Fix pg_last_notice()
2001-09-26 21:44:48 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Jon Parise
dbd51aaf61
Allow the PostgreSQL driver to do internal row counting when iterating
...
through a result set.
Submitted by: Georg von Zezschwitz <gvz@2scale.net>
2001-06-19 18:10:08 +00:00
Rasmus Lerdorf
4f059abacf
Add pg_last_notice() function
2001-05-06 01:34:56 +00:00
Thies C. Arntzen
cc48dd2138
make it compile with 6.5.x
...
postgresql notices are now send to the standard error-log
2001-04-04 21:40:41 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Sascha Schumann
0eec8cf2f7
Simpler fix for the InvalidOid thing by Tom Lane.
...
He assured me that InvalidOid has always expanded to (Oid) 0, so this
should be safe.
2001-02-19 16:31:17 +00:00