foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
22 years ago
Ilia Alshanetsky
fae56fca30
Removed a useless define.
22 years ago
Edin Kadribasic
32eb4f78c2
Get rid of PHPAPI usage.
Enable shared build in the new php5 build system
Check for the correct header.
22 years ago
Marcus Boerger
f5f60e6fea
Added new function pg_parameter_status()
23 years ago
Marcus Boerger
7a85edd370
Added pg_version() which returns an associative array of client/protocol/server
version.
@Added pg_version() function. (Marcus)
23 years ago
James Cox
f68c7ff249
updating license information in the headers.
23 years ago
Marcus Boerger
680653fecb
- Fix ini handling in ZTS mode
23 years ago
Jay Smith
dcf0c70950
Fix 'timestamp without timezone', too.
23 years ago
Anantha Kesari H Y
b3d80fe441
Removed #ifdef NetWare and made the necessary changes in the directory structure of NetWare.
23 years ago
Anantha Kesari H Y
f58016b348
Makefile added newly and modified the header file for NetWare.
23 years ago
Sebastian Bergmann
b506f5c8f8
Bump year.
23 years ago
Yasuo Ohgaki
7094b48b23
Added pg_get_pid()
24 years ago
Yasuo Ohgaki
601a507ad6
Added async message function - pg_get_notify()
24 years ago
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.
24 years ago
Yasuo Ohgaki
6edd9d2f72
Enable pg_escape_bytea().
24 years ago
Yasuo Ohgaki
1b675aa690
Rename pg_data_seek() to pg_result_seek().
Added mysql_result_seek() which is alias of mysql_data_seek().
24 years ago
Yasuo Ohgaki
b8fdd3c7ae
Added pg_data_seek().
pg_result_seek() woudl be better name, but there is mysql_data_seek()...
24 years ago
Yasuo Ohgaki
2728440fdc
Added pg_ping()
24 years ago
Yasuo Ohgaki
f8f11ac0a2
Rename pg_metadata() to pg_meta_data() to confirm naming standard
24 years ago
Yasuo Ohgaki
545f894524
Added pg_fetch_assoc(). Fixed proto. Added/fixed comments.
# It seems last attempt was failed. Try committing again.
24 years ago
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)
24 years ago
Edin Kadribasic
51cb237aa6
Fix win32 build.
24 years ago
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.
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
04fb5ef2e3
Added API version for C programs
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
7ff1412432
Print PostgreSQL version number in phpinfo()
24 years ago
Yasuo Ohgaki
39ad453266
Clean up code.
Removed PHP_PGSQL_API macro.
Define pgsql_globals_id
# Need a little more clean up
24 years ago
Yasuo Ohgaki
b42f0b0d43
Make module specified functions to static.
Added TSRMLS_D/C, get rid of one TSRMLS_FETCH.
24 years ago
Yasuo Ohgaki
1ea87faeb1
Added "auto_reset_presistent" ini entry.
24 years ago
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.
24 years ago
Sebastian Bergmann
38933514e1
Update headers.
24 years ago
Yasuo Ohgaki
db8bb9f23c
Added async query functions
24 years ago
Zeev Suraski
dd01c11ee3
Fix pg_last_notice()
25 years ago
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
25 years ago
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>
25 years ago
Rasmus Lerdorf
4f059abacf
Add pg_last_notice() function
25 years ago
Thies C. Arntzen
cc48dd2138
make it compile with 6.5.x
postgresql notices are now send to the standard error-log
25 years ago
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
25 years ago
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.
25 years ago
Sascha Schumann
1e6be5aaf5
Fix incompatibility with PostgreSQL CVS.
We now perform a check whether we need to include <postgres.h> to
succesfully compile.
PR: #9328
25 years ago
Thies C. Arntzen
f6925611fb
@- PostgreSQL now does a rollback at the end of a request on every
@ persistent connection. This is done by doing an "empty" transaction
@ on the connection (This was advised by someone from the PostgreSQL
@ core-team). If you leave transactions open on your page you will see a
@ "NOTICE: BEGIN: already a transaction in progress" message in your
@ apache error_log. This message is created by the PostgreSQL libs - we can
@ do nothing about it. (Thies)
25 years ago
Derick Rethans
82d58bdc4a
- Added the pg_lolseek function, which allows for arbitrary seeking within
a large object, and the pg_lotell call, which can be used to find the
current file offset for a large object (Submitted by: Adam Haberlach
<adam@newsnipple.com>).
@- Added the pg_lolseek and pg_lotell functions (Derick)
25 years ago
Jouni Ahto
abcdb47fc2
Changing my email address...
25 years ago
Andi Gutmans
526d45e95f
- The Sprit of PHP is to have descriptive function names and not
necessarily short ones. Maybe we should have some FAQ for this?
26 years ago
Rui Hirokawa
4ffaf35556
updated some functions'name using obsolete name convention.
26 years ago
Jouni Ahto
0c1620840f
- Renamed functions so that this extension finally starts to follow the
26 years ago
Derick Rethans
68611e2d55
- Added functions pg_putline and pg_endcopy (thanks to Dirk Elmendorf
<delmendo@rackspace.com>)
@ Added functions pg_putline and pg_endcopy (Dirk Elmendorf)
26 years ago
Jouni Ahto
d88fe953ae
This should fix #5826 .
26 years ago