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...
26 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
Jouni Ahto
3d1b363967
Fix #5817 and really, really check what gets passed further...
26 years ago
Jouni Ahto
d88fe953ae
This should fix #5826 .
26 years ago
Sascha Schumann
b74e079ce7
The official product name is PostgreSQL, so s/PostgresSQL/PostgreSQL/
26 years ago
Jouni Ahto
344955d020
- Still one misssing zend_list_addref() and small fix in pg_close.
26 years ago
Rui Hirokawa
074f52f382
added new functions: pg_setclientencoding, pg_clientencoding in Postgres-7.0.
26 years ago
Jouni Ahto
9322b9d9a5
(pg_loreadall) Was using zval ** but forgot to convert to use
26 years ago
Zeev Suraski
6614e8edb4
- I wrote a long msg but the commit didn't go through.
- So here is the short version:
- a) Start moving to binary opens in Windows
- b) Give checkuid_mode() a small face lift including the fopen-wrappers.c
- The mode to this function should at least be a #define but that is for
- another day. Anyway this whole stuff should be given more face lifts in
- the future.
26 years ago
Egon Schmid
10249f2dfb
Typos.
26 years ago
Jouni Ahto
98087ab562
- Fix return type in proto once again...
26 years ago
Egon Schmid
6e815b76ea
Some protos fixed.
26 years ago
Jouni Ahto
153ef54498
- Fix return type in proto.
26 years ago
Andi Gutmans
3c766f379b
- Update postgress to build on Windows
26 years ago
Jouni Ahto
d5d6c79584
(pg_connect) Missed adding reference to link.
26 years ago
Jouni Ahto
b9d1b21598
- Added functions pg_loimport(), pg_loexport().
26 years ago
Zeev Suraski
a00a1d12ea
@- Added pg_trace() and pg_untrace (Dominic J. Eidson & Zeev)
26 years ago
Jouni Ahto
cf9ea9d9cd
- Move to high performance api, use Z_* macros.
26 years ago
Jouni Ahto
ec93ec1fb1
Added PostgreSQL module info function.
26 years ago
Hartmut Holzgraefe
887c672a6c
proto typo fix
26 years ago
Sascha Schumann
4686a3b50e
Use #ifdef COMPILE_DL_EXTNAME solely.
26 years ago
Jouni Ahto
c32de173c3
According to current PostgreSQL docs, using PQoidStatus() is deprecated.
26 years ago
Zeev Suraski
e043439ff6
Update the license with the new clause 6
26 years ago
Sascha Schumann
a931caf2b2
Protect everything which requires <libpq-fe.h> with PHP_PGSQL_PRIVATE
26 years ago
Sascha Schumann
fe50664d4d
#if COMPILE_DL
becomes
#if defined(COMPILE_DL) || defined(COMPILE_DL_EXTENSION_NAME)
26 years ago
Sascha Schumann
0d383d9373
Replace the various get_module() functions with a uniform
ZEND_GET_MODULE(name) macro.
26 years ago
Stig Bakken
d02fe90b00
Change extension names in all extensions' zend_module_entry to their
directory name.
26 years ago