Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Unify error messages | Yasuo Ohgaki | 2002-07-28 | 1 | -109/+109 |
| | |||||
* | Copy empty_string, fixed crash. | Yasuo Ohgaki | 2002-07-22 | 1 | -1/+1 |
| | | | | | # I thought efree() won't free empty_string... | ||||
* | Added pg_fetch_all() that fetch all rows in result. | Yasuo Ohgaki | 2002-07-21 | 2 | -0/+27 |
| | | | | | | Useful and faster when there is enough memory. @Added pg_fetch_all() that fetch all rows in result. (Yasuo) | ||||
* | Fixed php_pgsql_convert's bool type handling. | Yasuo Ohgaki | 2002-07-20 | 1 | -9/+6 |
| | |||||
* | Hmm. My PostgreSQL returns "bool" for boolean now. | Yasuo Ohgaki | 2002-07-20 | 1 | -1/+1 |
| | |||||
* | Fixed convetion when null string is passed to php_pgsql_convert() | Yasuo Ohgaki | 2002-07-20 | 1 | -2/+1 |
| | |||||
* | Fixed crash. | Yasuo Ohgaki | 2002-07-20 | 1 | -1/+1 |
| | |||||
* | Fixed build. | Yasuo Ohgaki | 2002-07-17 | 1 | -2/+2 |
| | |||||
* | Added safe_mode & open_basedir checks for pg_lo_export() | Yasuo Ohgaki | 2002-07-17 | 1 | -0/+8 |
| | | | | | @Added safe_mode & open_basedir checks for pg_lo_export() (Yasuo) | ||||
* | Added open_basedir check. | Yasuo Ohgaki | 2002-07-17 | 1 | -0/+4 |
| | | | | | @ Added open_basedir check for pg_lo_import() (Yasuo) | ||||
* | Clean up code a little (Remove a use of magic number) | Yasuo Ohgaki | 2002-07-15 | 1 | -12/+12 |
| | | | | | Change/add appropriate comments. | ||||
* | added mbstring.language option in ext/mbstring. | Rui Hirokawa | 2002-07-11 | 1 | -3/+3 |
| | |||||
* | - Fix typo | Derick Rethans | 2002-06-26 | 1 | -1/+1 |
| | |||||
* | Fix for #17315. Requires client library 7.2 or greater to compile. | Edin Kadribasic | 2002-05-21 | 1 | -4/+4 |
| | |||||
* | Fixed possible pg_lo_write() overflow and make it more fail safe. | Yasuo Ohgaki | 2002-05-20 | 1 | -1/+11 |
| | |||||
* | Improve large object performance. pg_lo_read() and pg_lo_read_all() should ↵ | Yasuo Ohgaki | 2002-05-20 | 1 | -9/+8 |
| | | | | | | | | perform much better now. Fixed Old API support for pg_lo_import(). | ||||
* | Reduce number of realloc calls. | Yasuo Ohgaki | 2002-05-11 | 1 | -0/+2 |
| | |||||
* | Fix win32 build. | Edin Kadribasic | 2002-05-10 | 1 | -0/+6 |
| | |||||
* | Added test for pg_fetch_*() functions | Yasuo Ohgaki | 2002-04-25 | 2 | -0/+61 |
| | |||||
* | Revert last 2 commits. | Yasuo Ohgaki | 2002-04-25 | 1 | -14/+9 |
| | | | | | # Most PostgreSQL users should enable multibyte support ;) | ||||
* | Fix version in message | Yasuo Ohgaki | 2002-04-25 | 1 | -1/+1 |
| | |||||
* | pg_client_encoding/pg_set_client_encoding should be compiled always. | Yasuo Ohgaki | 2002-04-25 | 2 | -10/+13 |
| | | | | | | | | | | 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. | ||||
* | Remove result_type from pg_fetch_object() proto. | Yasuo Ohgaki | 2002-04-24 | 1 | -1/+1 |
| | | | | | | It still accepts 3rd argument, but passing 3rd argument does not make sense for pg_fetch_object(). | ||||
* | It does not make any sense to have a PGSQL_BOTH as a default for ↵ | Yasuo Ohgaki | 2002-04-24 | 1 | -1/+1 |
| | | | | | | | pg_fetch_object() Noticed by c@cornelia-boenigk.de | ||||
* | Make pg_convert/pg_insert/pg_select/pg_update/pg_delete a bit more flexible. | Yasuo Ohgaki | 2002-04-23 | 9 | -266/+199 |
| | | | | | | pg_convert() may ignore, NOT NULL and/or DEFAULT. pg_insert/pg_update/pg_select/pg_update may return query string. | ||||
* | hash keys lengths include the NUL-byte, so we need to copy one byte less. | Sascha Schumann | 2002-04-22 | 1 | -2/+4 |
| | | | | | | | also add missing commas in the INSERT clause. Noticed by: Yasuo Ohgaki | ||||
* | refactoring in pgsql_do_connect and some "leaner" code in pgsql_add_quotes | Sascha Schumann | 2002-04-21 | 1 | -118/+80 |
| | |||||
* | Avoid allocating resources, if we know that the input array is empty. | Sascha Schumann | 2002-04-21 | 1 | -21/+21 |
| | | | | | Also pass tsrmls to do_exec. | ||||
* | speling fix and s/FAILURE/HASH_KEY_NON_EXISTANT/ | Sascha Schumann | 2002-04-21 | 1 | -3/+3 |
| | |||||
* | The default has been changed to assume failure, because there were 5-10 | Sascha Schumann | 2002-04-21 | 1 | -1/+1 |
| | | | | | cases of failure and one success. | ||||
* | Add PGSQL_RETURN_OID which encapsulates the LONG_MAX check etc. | Sascha Schumann | 2002-04-21 | 1 | -25/+17 |
| | | | | | | | Add a few missing smart_str_0's. Remove a "(" in a probably less-tested #ifdef.. branch | ||||
* | Also support --disable-shared installations of pgsql | Sascha Schumann | 2002-04-21 | 1 | -1/+1 |
| | |||||
* | My patch as posted to php-dev + warnings/errors fixed as seen in | Sascha Schumann | 2002-04-21 | 1 | -689/+214 |
| | | | | | Yasuo's reply. | ||||
* | Make pg_lo_import()/pg_lo_unlink()/pg_lo_open()/pg_lo_export() work with oid ↵ | Yasuo Ohgaki | 2002-04-20 | 2 | -76/+194 |
| | | | | | | | 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 Ohgaki | 2002-04-20 | 1 | -7/+10 |
| | | | | | Fixed wrong conversion specifiers. | ||||
* | Added missing 'd'. | Yasuo Ohgaki | 2002-04-20 | 1 | -4/+4 |
| | |||||
* | Some cleanup. | Yasuo Ohgaki | 2002-04-20 | 1 | -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 Ohgaki | 2002-04-20 | 1 | -8/+16 |
| | | | | | pg_last_oid() returns string to keep correct value. | ||||
* | Added API version for C programs | Yasuo Ohgaki | 2002-04-20 | 1 | -0/+2 |
| | |||||
* | Remove warnings. | Yasuo Ohgaki | 2002-04-20 | 1 | -17/+18 |
| | | | | | | | Fixed OID overflow bug. Fixed type convertion bug. # Thank you Edin. | ||||
* | Fixed pg_insert/update/select/delete overflow. | Yasuo Ohgaki | 2002-04-19 | 1 | -18/+15 |
| | |||||
* | Update tests | Yasuo Ohgaki | 2002-04-19 | 4 | -22/+26 |
| | |||||
* | Added "NOT NULL" check and do not add converted variable when field is NULL ↵ | Yasuo Ohgaki | 2002-04-19 | 1 | -13/+191 |
| | | | | | | | and HAS DEFAULT. (php_pgsql_convert) | ||||
* | Changed "default" -> "has default" (metadata) | Yasuo Ohgaki | 2002-04-19 | 1 | -5/+7 |
| | | | | | Fixed comment. Do not use magic number. | ||||
* | Leave "" (null string) when converting. | Yasuo Ohgaki | 2002-04-19 | 1 | -1/+1 |
| | |||||
* | Remove unneeded conversions from pg_convert. | Yasuo Ohgaki | 2002-04-08 | 1 | -3/+0 |
| | |||||
* | Make it compile with ZTS. | Yasuo Ohgaki | 2002-04-08 | 1 | -27/+27 |
| | | | | | # Forgot to test with ZTS | ||||
* | Update README | Yasuo Ohgaki | 2002-04-08 | 1 | -8/+39 |
| | |||||
* | Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update() | Yasuo Ohgaki | 2002-04-08 | 18 | -14/+2233 |
| | | | | | | | and pg_delete(). @ Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update() @ and pg_delete(). (Yasuo) | ||||
* | Return proper result. | Yasuo Ohgaki | 2002-04-08 | 1 | -3/+3 |
| |