Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
25 years ago
Zeev Suraski
fe6f8712a4
- Get rid of ELS_*(), and use TSRMLS_*() instead.
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
25 years ago
Rasmus Lerdorf
b9325a36a8
Fix for #11941
25 years ago
foobar
bc3482d65f
Fixed bug: #11728 . Error message was cleared before outputted in pg_pconnect()
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
81e2cf03ac
Fix folding and clean up some extensions
25 years ago
Rasmus Lerdorf
25c3a3a39d
vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
25 years ago
foobar
d1a382a1e8
Fixed bug: #11265
25 years ago
Sterling Hughes
687a1c1abe
ws fix
25 years ago
foobar
49d18d9f25
Fix by Sterling Hughes. Fixes bugs: #10939 , #10756 , #10324
25 years ago
foobar
02400e339b
remove ws, kill one compile warning.
25 years ago
Egon Schmid
3ceeb1ff40
Fix some protos.
25 years ago
Sterling Hughes
04908b1415
@ Made the length argument (argument 2) to pg_loread() optional,
@ if not specified data will be read in 1kb chunks. (Sterling)
@ Added a third argument to pg_lowrite() which is the length of
@ the data to write. (Sterling)
25 years ago
Stig Bakken
1beda9ee1e
* include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)
25 years ago
Egon Schmid
58d2b0a52b
Corrected one proto.
25 years ago
Rasmus Lerdorf
4f059abacf
Add pg_last_notice() function
25 years ago
Daniel Beulshausen
0a121f855c
make pgsql build under win32 again
25 years ago
Zeev Suraski
6487d08e6b
Accept the fix suggestion from bug #9562
25 years ago
Rui Hirokawa
053994b5eb
deleted warning output in dbx/pgsql.
25 years ago
Romolo Manfredini
0509957bc3
pg_close not closing right connection.
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
Romolo Manfredini
99e5dfd00e
pg_close was undefining default_conn even if a ref to it was still there.
25 years ago
Romolo Manfredini
7a102a4669
Solved bugs #9746 and #9937 , pg_close was closing twice the default conn.
25 years ago
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
25 years ago
Daniel Beulshausen
10695935e0
added missing ELS_FETCH()
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
b91b1779a5
Fix warning
25 years ago
Zeev Suraski
c239da7e66
Fix the PostgreSQL fix...
25 years ago
Thies C. Arntzen
9d6f117938
remove stupid PGSQL warning
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
Thies C. Arntzen
79a38a1c3a
@- fixes PostgeSQL pg_connect() bug. We would sometimes close the default
@ link by acciedent. (Patch by: aja@nlgroup.ca )
25 years ago
Andi Gutmans
0611acb910
- Change unset() functions to null(). unset() is legacy
25 years ago
Sascha Schumann
5d03ac038d
Revert last completely broken patch.
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
Sascha Schumann
08d104e040
Don't increase the refcount of id, if we already have increased the refcount
of the same id before.
PR: #8225
26 years ago
Zeev Suraski
6d0749a95b
Fix msql_close(), pg_close() and sybase_close() (Sybase CT)
26 years ago
Zeev Suraski
e560ecfa47
Fix pg_close()
26 years ago
Andi Gutmans
d0ec3df288
- Use CHECKUID_* #define's instead of cryptic numbers in php_checkuid()
- I did not test for validity of the actual php_checkuid() calls and there
- might be mistakes in the previous code.
26 years ago
Andrei Zmievski
f1dcb32c9f
Use zend_register_list_destructors_ex() instead.
26 years ago
Andrei Zmievski
7b4983c8f8
Mega-patch to get better resource information for modules.
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
* Switched register_list_destructors() to use
zend_register_list_destructors_ex() instead
* Updated all relevant modules to provide the resource type name
to register_list_destructors() call
* Updated var_dump() to output resource type name instead of number
@- Made resource type names visible, e.g. var_dump() and
@ get_resource_type() display "file" for file resources. (Andrei)
26 years ago
Zeev Suraski
ac0880fd8f
Remove conflict
26 years ago
Zeev Suraski
8fc4200414
Old PostgreSQL fix I forgot to commit, and NEWS consistency update
26 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
Jouni Ahto
d9e180b9b7
- Use the same check for existence of a valid link as the other functions.
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
20fe0a5685
Fixed #6627 . Wrong logic...
26 years ago
Jouni Ahto
e85ba0901a
- Return NULL type when column is NULL, now that we have it in PHP4.
26 years ago