summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Make pg_lo_import()/pg_lo_unlink()/pg_lo_open()/pg_lo_export() work with oid ↵Yasuo Ohgaki2002-04-201-75/+180
| | | | | | | larger than 2^31. @Added large OID value (2^31 to 2^32) support for pg_lo_import()/pg_lo_unlink()/pg_lo_open()/pg_lo_export(). (Yasuo)
* Added comment to fix large OID value handling later.Yasuo Ohgaki2002-04-201-7/+10
| | | | | Fixed wrong conversion specifiers.
* Added missing 'd'.Yasuo Ohgaki2002-04-201-4/+4
|
* Some cleanup.Yasuo Ohgaki2002-04-201-25/+23
| | | | | | More OID range related fixes. # Need a little more work for OID
* Fixed OID overflow. If value is larger than MAX_LONG,Yasuo Ohgaki2002-04-201-8/+16
| | | | | pg_last_oid() returns string to keep correct value.
* Remove warnings.Yasuo Ohgaki2002-04-201-17/+18
| | | | | | | Fixed OID overflow bug. Fixed type convertion bug. # Thank you Edin.
* Fixed pg_insert/update/select/delete overflow.Yasuo Ohgaki2002-04-191-18/+15
|
* Added "NOT NULL" check and do not add converted variable when field is NULL ↵Yasuo Ohgaki2002-04-191-13/+191
| | | | | | | and HAS DEFAULT. (php_pgsql_convert)
* Changed "default" -> "has default" (metadata)Yasuo Ohgaki2002-04-191-5/+7
| | | | | Fixed comment. Do not use magic number.
* Leave "" (null string) when converting.Yasuo Ohgaki2002-04-191-1/+1
|
* Remove unneeded conversions from pg_convert.Yasuo Ohgaki2002-04-081-3/+0
|
* Make it compile with ZTS.Yasuo Ohgaki2002-04-081-27/+27
| | | | | # Forgot to test with ZTS
* Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update()Yasuo Ohgaki2002-04-081-4/+1878
| | | | | | | and pg_delete(). @ Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update() @ and pg_delete(). (Yasuo)
* Return proper result.Yasuo Ohgaki2002-04-081-3/+3
|
* Added 2nd parameter for pg_result_status(). PGSQL_STATUS_LONG is for LONG ↵Yasuo Ohgaki2002-04-081-8/+22
| | | | | | | | result status. PGSQL_STATUS_STRING is for SQL command name successfully executed for this result. @ Added 2nd parameter for pg_result_status() to specify return type. (Yasuo)
* Nuke waring with ZTS buildYasuo Ohgaki2002-04-071-1/+1
|
* Make pg_last_notice() work as it is designed. It returns last notice message ↵Yasuo Ohgaki2002-04-061-23/+50
| | | | | | | | | | | for connection resource specified. Added "pgsql.ignore_notice" ini entry. Added "pgsql.log_notice" ini entry. @ Make pg_last_notice() work as it is designed. It returns notice message PostgreSQL connection resource specified. @ Added "pgsql.ignore_notice" ini entry. @ Added "pgsql.log_notice" ini entry.
* Fix pg_last_notice() double free.Yasuo Ohgaki2002-04-051-1/+1
| | | | | # This should be merged
* Clean up pg_escape_*()Yasuo Ohgaki2002-04-041-17/+9
|
* Fixed crash with pg_escape_*()Yasuo Ohgaki2002-04-041-1/+5
| | | | | # I'll MFH later.
* Print multibyte and SSL support is compiled in libpq or not.Yasuo Ohgaki2002-03-311-2/+12
|
* Print PostgreSQL version number in phpinfo()Yasuo Ohgaki2002-03-311-0/+3
|
* Fix build failure with PostgreSQL 6.5.xYasuo Ohgaki2002-03-291-11/+28
| | | | | # I'll merge this to 4.2.0 branch later
* Remove warningsYasuo Ohgaki2002-03-261-2/+0
|
* Changed error messages to be consistent with other error messagesYasuo Ohgaki2002-03-261-22/+40
|
* *** empty log message ***Markus Fischer2002-03-211-1/+1
|
* Show function name in error message.Yasuo Ohgaki2002-03-211-5/+9
|
* Streams are all tracked as resources now.Wez Furlong2002-03-201-1/+1
| | | | | | Add some logic that will help track down leaks when debug is enabled.
* Streams now make more use of the memory manager, so tracking downWez Furlong2002-03-171-1/+1
| | | | | | leaking streams should be easier. # I hate these big commits
* change * formattingWez Furlong2002-03-161-1/+1
|
* New PHP streams...Wez Furlong2002-03-151-7/+9
|
* - Allow duality between Engine 1 & 2 using ZEND_STANDARD_CLASS_DEF_PTRAndi Gutmans2002-03-121-1/+1
|
* Print function names in error messagesYasuo Ohgaki2002-03-111-1/+2
|
* WS and indentYasuo Ohgaki2002-03-111-75/+75
|
* Add comments for constants. Remove unneeded constants included by mistake.Yasuo Ohgaki2002-03-111-8/+4
|
* Fix possible build error under Windows.Yasuo Ohgaki2002-03-111-1/+1
| | | | | # Recent libpq under windows supports PQcmdTuples, right?
* - Make the 2nd parameter to pgsql_fetch_* support NULL in case 3 parametersDerick Rethans2002-03-021-16/+23
| | | | | | | | are supplied, but you do not want to provide a row number yourself. @- Make the 2nd parameter to pgsql_fetch_* support NULL in case 3 @ parameters are supplied, but you do not want to provide a row number @ yourself. (Derick)
* Initialize automatic persistent connection reset flagYasuo Ohgaki2002-02-121-0/+1
|
* Clean up code.Yasuo Ohgaki2002-02-061-3/+3
| | | | | | | Removed PHP_PGSQL_API macro. Define pgsql_globals_id # Need a little more clean up
* Make module specified functions to static.Yasuo Ohgaki2002-02-061-15/+14
| | | | | Added TSRMLS_D/C, get rid of one TSRMLS_FETCH.
* Added "auto_reset_presistent" ini entry.Yasuo Ohgaki2002-01-251-4/+3
|
* Revert last 2 commit. Instead, make php_pgsql_do_connect() to catchYasuo Ohgaki2002-01-241-13/+18
| | | | | | | broken connection always. # I think this is better than check&reset connection when query # functions are called.
* Add a little more fault tolerance for pg_host, pg_tty and more.Yasuo Ohgaki2002-01-241-0/+3
|
* No more httpd restart is required when PostgreSQL is rebooted.Yasuo Ohgaki2002-01-241-0/+6
| | | | | # Works for pg_query()/pg_send_query()
* Fixed typo and protoYasuo Ohgaki2002-01-211-5/+5
|
* - fixed typo in deprecated functionnameUwe Steinmann2002-01-091-1/+1
|
* Do not cancel queued query automatically.Yasuo Ohgaki2001-12-191-37/+13
|
* More proper error message.Yasuo Ohgaki2001-12-181-5/+2
| | | | | Remove old lines that aren't needed.
* yet another proto fixHartmut Holzgraefe2001-12-171-1/+1
|
* proto fixesHartmut Holzgraefe2001-12-171-5/+5
|