summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
Commit message (Collapse)AuthorAgeFilesLines
...
* @- fixes PostgeSQL pg_connect() bug. We would sometimes close the defaultThies C. Arntzen2001-02-131-1/+2
| | | | | @ link by acciedent. (Patch by: aja@nlgroup.ca)
* - Change unset() functions to null(). unset() is legacyAndi Gutmans2001-01-311-2/+2
|
* Revert last completely broken patch.Sascha Schumann2001-01-201-55/+0
|
* - Added the pg_lolseek function, which allows for arbitrary seeking withinDerick Rethans2001-01-181-0/+55
| | | | | | | | 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)
* Changing my email address...Jouni Ahto2001-01-041-1/+1
|
* Don't increase the refcount of id, if we already have increased the refcountSascha Schumann2000-12-131-2/+4
| | | | | | | of the same id before. PR: #8225
* Fix msql_close(), pg_close() and sybase_close() (Sybase CT)Zeev Suraski2000-11-031-3/+10
|
* Fix pg_close()Zeev Suraski2000-11-031-1/+5
|
* - Use CHECKUID_* #define's instead of cryptic numbers in php_checkuid()Andi Gutmans2000-11-021-1/+1
| | | | | | - I did not test for validity of the actual php_checkuid() calls and there - might be mistakes in the previous code.
* Use zend_register_list_destructors_ex() instead.Andrei Zmievski2000-10-251-5/+5
|
* Mega-patch to get better resource information for modules.Andrei Zmievski2000-10-201-9/+13
| | | | | | | | | | | | | * 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)
* Remove conflictZeev Suraski2000-10-111-5/+0
|
* Old PostgreSQL fix I forgot to commit, and NEWS consistency updateZeev Suraski2000-10-111-1/+18
|
* - The Sprit of PHP is to have descriptive function names and notAndi Gutmans2000-09-131-8/+8
| | | | | necessarily short ones. Maybe we should have some FAQ for this?
* updated some functions'name using obsolete name convention.Rui Hirokawa2000-09-121-6/+9
|
* - Renamed functions so that this extension finally starts to follow theJouni Ahto2000-09-111-6/+6
| | | | | recommended naming scheme of PHP.
* - Use the same check for existence of a valid link as the other functions.Jouni Ahto2000-09-111-66/+58
| | | | | | | | - Return TRUE if everything went OK. - Fixed the number of arguments to pg_endcopy. - Removed unused variables. - Indentation, changed spaces to tabs.
* - Added functions pg_putline and pg_endcopy (thanks to Dirk ElmendorfDerick Rethans2000-09-111-0/+86
| | | | | | <delmendo@rackspace.com>) @ Added functions pg_putline and pg_endcopy (Dirk Elmendorf)
* Fixed #6627. Wrong logic...Jouni Ahto2000-09-091-1/+2
|
* - Return NULL type when column is NULL, now that we have it in PHP4.Jouni Ahto2000-08-161-26/+36
| | | | | | - Fixed a bug in handling NULL columns, PQgetvalue() doesn't return a NULL pointer in this case, but a pointer to a string of 0 length...
* Fix #5817 and really, really check what gets passed further...Jouni Ahto2000-07-291-12/+26
|
* This should fix #5826.Jouni Ahto2000-07-291-0/+6
|
* The official product name is PostgreSQL, so s/PostgresSQL/PostgreSQL/Sascha Schumann2000-07-111-6/+6
|
* - Still one misssing zend_list_addref() and small fix in pg_close.Jouni Ahto2000-07-051-1/+2
| | | | | | | | | | | | Fixes #5349 (but not the way reporter wants...). # There's something in the way database_connect/close functions behave when # implemented the way as in mysql module that I find a bit strange... because # of that extra zend_list_addref() there to prevent default link disappearing # if it's not assigned to variable, when it is, I guess its' reference count # is at this point 2, I can do: open a db link and assign it to a variable, # close the link and still use it afterwards.
* added new functions: pg_setclientencoding, pg_clientencoding in Postgres-7.0.Rui Hirokawa2000-07-021-0/+74
|
* (pg_loreadall) Was using zval ** but forgot to convert to useJouni Ahto2000-06-271-1/+1
| | | | | zend_get_parameters_ex(). Fixes #5244.
* - I wrote a long msg but the commit didn't go through.Zeev Suraski2000-06-251-1/+1
| | | | | | | | | | - 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.
* Typos.Egon Schmid2000-06-231-2/+2
|
* - Fix return type in proto once again...Jouni Ahto2000-06-181-1/+1
|
* Some protos fixed.Egon Schmid2000-06-181-2/+2
|
* - Fix return type in proto.Jouni Ahto2000-06-181-1/+1
|
* - Update postgress to build on WindowsAndi Gutmans2000-06-091-4/+0
|
* (pg_connect) Missed adding reference to link.Jouni Ahto2000-06-041-0/+1
|
* - Added functions pg_loimport(), pg_loexport().Jouni Ahto2000-06-041-0/+92
| | | | | @- Added functions pg_loimport(), pg_loexport(). (Jouni)
* @- Added pg_trace() and pg_untrace (Dominic J. Eidson & Zeev)Zeev Suraski2000-05-311-0/+87
|
* - Move to high performance api, use Z_* macros.Jouni Ahto2000-05-251-339/+230
| | | | | | - Added some spaces here and there. # Have yet to test that I didn't break anything...
* Added PostgreSQL module info function.Jouni Ahto2000-05-241-2/+25
|
* proto typo fixHartmut Holzgraefe2000-05-231-1/+1
|
* Use #ifdef COMPILE_DL_EXTNAME solely.Sascha Schumann2000-05-231-2/+2
|
* According to current PostgreSQL docs, using PQoidStatus() is deprecated.Jouni Ahto2000-05-231-1/+10
|
* Update the license with the new clause 6Zeev Suraski2000-05-181-2/+2
|
* Protect everything which requires <libpq-fe.h> with PHP_PGSQL_PRIVATESascha Schumann2000-05-021-0/+2
|
* #if COMPILE_DLSascha Schumann2000-05-021-2/+2
| | | | | | | becomes #if defined(COMPILE_DL) || defined(COMPILE_DL_EXTENSION_NAME)
* Replace the various get_module() functions with a uniformSascha Schumann2000-05-021-1/+1
| | | | | ZEND_GET_MODULE(name) macro.
* Change extension names in all extensions' zend_module_entry to theirStig Bakken2000-03-061-1/+1
| | | | | directory name.
* More protos.Egon Schmid2000-02-241-3/+3
|
* the pipe is breaking all the timeZeev Suraski2000-02-191-2/+2
|
* Fix PostgreSQL startup routine in thread-safe modeZeev Suraski2000-02-051-10/+18
|
* PostgreSQL compile fixesZeev Suraski2000-02-051-10/+8
|
* Happy Y2K patch! Happy new year (or the new millennium, depending on whetherSascha Schumann2000-01-011-1/+1
| | | | | you start counting at 0 or 1).