History log of /PHP-8.0/ext/pgsql/pgsql.c (Results 476 – 500 of 675)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# c6873da4 20-May-2002 Yasuo Ohgaki

Improve large object performance. pg_lo_read() and pg_lo_read_all() should perform
much better now.
Fixed Old API support for pg_lo_import().


Revision tags: php-4.3.0dev-ZendEngine2, php-4.3.0dev-ZendEngine2-Preview1, php-4.2.1
# f314d24d 11-May-2002 Yasuo Ohgaki

Reduce number of realloc calls.


Revision tags: php-4.2.1RC2, php-4.2.1RC1
# b4c943ee 25-Apr-2002 Yasuo Ohgaki

Revert last 2 commits.
# Most PostgreSQL users should enable multibyte support ;)


# c65a20df 25-Apr-2002 Yasuo Ohgaki

pg_client_encoding/pg_set_client_encoding should be compiled always.
Recent libpq has PQclientEncoding/PQsetClientEncoding regarless of
multibyte support enabled or not.

Reported by

pg_client_encoding/pg_set_client_encoding should be compiled always.
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.

show more ...


# 48ea7057 24-Apr-2002 Yasuo Ohgaki

Remove result_type from pg_fetch_object() proto.
It still accepts 3rd argument, but passing 3rd argument
does not make sense for pg_fetch_object().


# cf7f465e 24-Apr-2002 Yasuo Ohgaki

It does not make any sense to have a PGSQL_BOTH as a default for pg_fetch_object()
Noticed by c@cornelia-boenigk.de


# e7e0edda 23-Apr-2002 Yasuo Ohgaki

Make pg_convert/pg_insert/pg_select/pg_update/pg_delete a bit more flexible.
pg_convert() may ignore, NOT NULL and/or DEFAULT.
pg_insert/pg_update/pg_select/pg_update may return query string.


Revision tags: php-4.2.0
# ebd957f6 22-Apr-2002 Sascha Schumann

hash keys lengths include the NUL-byte, so we need to copy one byte less.

also add missing commas in the INSERT clause.

Noticed by: Yasuo Ohgaki


# d1a1f176 21-Apr-2002 Sascha Schumann

refactoring in pgsql_do_connect and some "leaner" code in pgsql_add_quotes


# c2c23ff6 21-Apr-2002 Sascha Schumann

Avoid allocating resources, if we know that the input array is empty.

Also pass tsrmls to do_exec.


# bf879920 21-Apr-2002 Sascha Schumann

speling fix and s/FAILURE/HASH_KEY_NON_EXISTANT/


# c6016fcf 21-Apr-2002 Sascha Schumann

The default has been changed to assume failure, because there were 5-10
cases of failure and one success.


# db24a14b 21-Apr-2002 Sascha Schumann

Add PGSQL_RETURN_OID which encapsulates the LONG_MAX check etc.

Add a few missing smart_str_0's.

Remove a "(" in a probably less-tested #ifdef.. branch


# 7e597b26 21-Apr-2002 Sascha Schumann

My patch as posted to php-dev + warnings/errors fixed as seen in
Yasuo's reply.


# 3087b96e 20-Apr-2002 Yasuo Ohgaki

Make pg_lo_import()/pg_lo_unlink()/pg_lo_open()/pg_lo_export() work with oid 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_e

Make pg_lo_import()/pg_lo_unlink()/pg_lo_open()/pg_lo_export() work with oid 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)

show more ...


# 29e3175f 20-Apr-2002 Yasuo Ohgaki

Added comment to fix large OID value handling later.
Fixed wrong conversion specifiers.


# 3ee7591a 20-Apr-2002 Yasuo Ohgaki

Added missing 'd'.


# d845ba20 20-Apr-2002 Yasuo Ohgaki

Some cleanup.
More OID range related fixes.
# Need a little more work for OID


# 07125ea9 20-Apr-2002 Yasuo Ohgaki

Fixed OID overflow. If value is larger than MAX_LONG,
pg_last_oid() returns string to keep correct value.


# c53c212d 20-Apr-2002 Yasuo Ohgaki

Remove warnings.
Fixed OID overflow bug.
Fixed type convertion bug.
# Thank you Edin.


# e64696d7 19-Apr-2002 Yasuo Ohgaki

Fixed pg_insert/update/select/delete overflow.


# 7a8ad061 19-Apr-2002 Yasuo Ohgaki

Added "NOT NULL" check and do not add converted variable when field is NULL and HAS DEFAULT.
(php_pgsql_convert)


# 8d8ca260 19-Apr-2002 Yasuo Ohgaki

Changed "default" -> "has default" (metadata)
Fixed comment. Do not use magic number.


# f463be84 19-Apr-2002 Yasuo Ohgaki

Leave "" (null string) when converting.


Revision tags: php-4.2.0RC4, php-4.2.0RC3
# 34625daf 08-Apr-2002 Yasuo Ohgaki

Remove unneeded conversions from pg_convert.


1...<<11121314151617181920>>...27