Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added async message function - pg_get_notify() | Yasuo Ohgaki | 2002-10-17 | 1 | -0/+40 | |
| | ||||||
* | Fixed proto. Clean up. | Yasuo Ohgaki | 2002-10-13 | 1 | -2/+2 | |
| | ||||||
* | Need to init connstring when there are 2 args. | Yasuo Ohgaki | 2002-10-13 | 1 | -0/+1 | |
| | ||||||
* | Introduce connect_type option to pg_connect(). | Yasuo Ohgaki | 2002-10-13 | 1 | -6/+12 | |
| | | | | | | | pg_connect(conn_str, conn_type) is allowed. @Added PGSQL_CONNECT_FORCE_NEW option to pg_connect() (Yasuo) # If you have better idea about constant name(s), let me know. | |||||
* | Enable pg_escape_bytea(). | Yasuo Ohgaki | 2002-10-13 | 1 | -0/+1 | |
| | ||||||
* | Rename pg_data_seek() to pg_result_seek(). | Yasuo Ohgaki | 2002-10-03 | 1 | -3/+3 | |
| | | | | | Added mysql_result_seek() which is alias of mysql_data_seek(). | |||||
* | Fixed pg_escape_typea() | Yasuo Ohgaki | 2002-10-02 | 1 | -2/+2 | |
| | ||||||
* | Clean up a little. | Yasuo Ohgaki | 2002-10-02 | 1 | -4/+2 | |
| | ||||||
* | Added pg_unescape_bytea(). Fixed pg_data_seek(). | Yasuo Ohgaki | 2002-10-02 | 1 | -2/+128 | |
| | | | | | php_pgsql_unescape_bytea(PQunescapeBytea) is shamelessly stolen from PostgreSQL 7.3 :) | |||||
* | Added pg_data_seek(). | Yasuo Ohgaki | 2002-10-02 | 1 | -0/+32 | |
| | | | | | pg_result_seek() woudl be better name, but there is mysql_data_seek()... | |||||
* | Added pg_ping() | Yasuo Ohgaki | 2002-10-02 | 1 | -1/+33 | |
| | ||||||
* | Rename pg_metadata() to pg_meta_data() to confirm naming standard | Yasuo Ohgaki | 2002-10-02 | 1 | -10/+10 | |
| | ||||||
* | Added pg_fetch_assoc(). Fixed proto. Added/fixed comments. | Yasuo Ohgaki | 2002-09-30 | 1 | -5/+20 | |
| | | | | | # It seems last attempt was failed. Try committing again. | |||||
* | Use PGSQL_CONV_FORCE_NULL as it is supposed. | Yasuo Ohgaki | 2002-09-30 | 1 | -1/+6 | |
| | | | | | | PGSQL_CONV_FORCE_NULL inserts NULL to field instead of NULL string for string type tuples. | |||||
* | Use of PGSQL_CONV_INGORE_NOT_NULL as it is supposed. Change comment a little. | Yasuo Ohgaki | 2002-09-30 | 1 | -3/+3 | |
| | ||||||
* | Fix TODO desc | Yasuo Ohgaki | 2002-09-30 | 1 | -1/+1 | |
| | ||||||
* | Remove unused def. Add TODO. | Yasuo Ohgaki | 2002-09-30 | 1 | -4/+1 | |
| | ||||||
* | Improve error message. Fix proto. | Yasuo Ohgaki | 2002-09-30 | 1 | -11/+12 | |
| | ||||||
* | php_error -> php_error_docref | Yasuo Ohgaki | 2002-09-04 | 1 | -219/+115 | |
| | ||||||
* | Changed ↵ | Yasuo Ohgaki | 2002-08-24 | 1 | -22/+16 | |
| | | | | | | | pg_connection_info()/pg_connection_reset()/pg_connection_busy()/pg_result_status()/pg_result_error() silently return FALSE when resource is not passed to them. @ Changed pg_connection_info()/pg_connection_reset()/pg_connection_busy()/pg_result_status()/pg_result_error() silently return FALSE when resource is not passed to them. (Yasuo) | |||||
* | Fixed typo | Yasuo Ohgaki | 2002-08-24 | 1 | -1/+1 | |
| | ||||||
* | Make pg_result_status() a little more useufl by ignoring invalid | Yasuo Ohgaki | 2002-08-24 | 1 | -3/+9 | |
| | | | | | | parameter and return FALSE. (i.e. pg_query() may return FALSE instead of result resource) | |||||
* | ws fix | foobar | 2002-08-23 | 1 | -3/+3 | |
| | ||||||
* | 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 | 1 | -0/+25 | |
| | | | | | | 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 | |
| | ||||||
* | 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 | |
| | ||||||
* | Revert last 2 commits. | Yasuo Ohgaki | 2002-04-25 | 1 | -14/+9 | |
| | | | | | # Most PostgreSQL users should enable multibyte support ;) | |||||
* | pg_client_encoding/pg_set_client_encoding should be compiled always. | Yasuo Ohgaki | 2002-04-25 | 1 | -8/+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 | 1 | -235/+161 | |
| | | | | | | 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 | |||||
* | My patch as posted to php-dev + warnings/errors fixed as seen in | Sascha Schumann | 2002-04-21 | 1 | -689/+214 | |
| | | | | | Yasuo's reply. |