Andrei Zmievski
7b4983c8f8
Mega-patch to get better resource information for modules.
...
* 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)
2000-10-20 18:25:16 +00:00
Zeev Suraski
ac0880fd8f
Remove conflict
2000-10-11 18:00:18 +00:00
Zeev Suraski
8fc4200414
Old PostgreSQL fix I forgot to commit, and NEWS consistency update
2000-10-11 13:27:21 +00:00
Andi Gutmans
526d45e95f
- The Sprit of PHP is to have descriptive function names and not
...
necessarily short ones. Maybe we should have some FAQ for this?
2000-09-13 04:13:36 +00:00
Rui Hirokawa
4ffaf35556
updated some functions'name using obsolete name convention.
2000-09-12 23:19:58 +00:00
Jouni Ahto
0c1620840f
- Renamed functions so that this extension finally starts to follow the
...
recommended naming scheme of PHP.
2000-09-11 21:28:47 +00:00
Jouni Ahto
d9e180b9b7
- Use the same check for existence of a valid link as the other functions.
...
- Return TRUE if everything went OK.
- Fixed the number of arguments to pg_endcopy.
- Removed unused variables.
- Indentation, changed spaces to tabs.
2000-09-11 18:34:06 +00:00
Derick Rethans
68611e2d55
- Added functions pg_putline and pg_endcopy (thanks to Dirk Elmendorf
...
<delmendo@rackspace.com>)
@ Added functions pg_putline and pg_endcopy (Dirk Elmendorf)
2000-09-11 15:34:14 +00:00
Jouni Ahto
20fe0a5685
Fixed #6627 . Wrong logic...
2000-09-09 09:40:16 +00:00
Jouni Ahto
e85ba0901a
- Return NULL type when column is NULL, now that we have it in PHP4.
...
- 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...
2000-08-16 01:03:20 +00:00
Jouni Ahto
3d1b363967
Fix #5817 and really, really check what gets passed further...
2000-07-29 06:07:26 +00:00
Jouni Ahto
d88fe953ae
This should fix #5826 .
2000-07-29 04:24:11 +00:00
Sascha Schumann
b74e079ce7
The official product name is PostgreSQL, so s/PostgresSQL/PostgreSQL/
2000-07-11 12:38:06 +00:00
Jouni Ahto
344955d020
- Still one misssing zend_list_addref() and small fix in pg_close.
...
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.
2000-07-05 22:17:30 +00:00
Rui Hirokawa
074f52f382
added new functions: pg_setclientencoding, pg_clientencoding in Postgres-7.0.
2000-07-02 08:59:44 +00:00
Jouni Ahto
9322b9d9a5
(pg_loreadall) Was using zval ** but forgot to convert to use
...
zend_get_parameters_ex(). Fixes #5244 .
2000-06-27 13:26:04 +00:00
Zeev Suraski
6614e8edb4
- I wrote a long msg but the commit didn't go through.
...
- 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.
2000-06-25 17:02:59 +00:00
Egon Schmid
10249f2dfb
Typos.
2000-06-23 17:09:54 +00:00
Jouni Ahto
98087ab562
- Fix return type in proto once again...
2000-06-18 17:36:31 +00:00
Egon Schmid
6e815b76ea
Some protos fixed.
2000-06-18 16:31:52 +00:00
Jouni Ahto
153ef54498
- Fix return type in proto.
2000-06-18 16:07:06 +00:00
Andi Gutmans
3c766f379b
- Update postgress to build on Windows
2000-06-09 22:39:56 +00:00
Jouni Ahto
d5d6c79584
(pg_connect) Missed adding reference to link.
2000-06-04 23:06:11 +00:00
Jouni Ahto
b9d1b21598
- Added functions pg_loimport(), pg_loexport().
...
@- Added functions pg_loimport(), pg_loexport(). (Jouni)
2000-06-04 20:24:07 +00:00
Zeev Suraski
a00a1d12ea
@- Added pg_trace() and pg_untrace (Dominic J. Eidson & Zeev)
2000-05-31 20:40:28 +00:00
Jouni Ahto
cf9ea9d9cd
- Move to high performance api, use Z_* macros.
...
- Added some spaces here and there.
# Have yet to test that I didn't break anything...
2000-05-25 07:51:40 +00:00
Jouni Ahto
ec93ec1fb1
Added PostgreSQL module info function.
2000-05-24 06:48:04 +00:00
Hartmut Holzgraefe
887c672a6c
proto typo fix
2000-05-23 22:20:36 +00:00
Sascha Schumann
4686a3b50e
Use #ifdef COMPILE_DL_EXTNAME solely.
2000-05-23 09:33:51 +00:00
Jouni Ahto
c32de173c3
According to current PostgreSQL docs, using PQoidStatus() is deprecated.
2000-05-23 06:03:34 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Sascha Schumann
a931caf2b2
Protect everything which requires <libpq-fe.h> with PHP_PGSQL_PRIVATE
2000-05-02 05:27:35 +00:00
Sascha Schumann
fe50664d4d
#if COMPILE_DL
...
becomes
#if defined(COMPILE_DL) || defined(COMPILE_DL_EXTENSION_NAME)
2000-05-02 00:44:35 +00:00
Sascha Schumann
0d383d9373
Replace the various get_module() functions with a uniform
...
ZEND_GET_MODULE(name) macro.
2000-05-02 00:30:36 +00:00
Stig Bakken
d02fe90b00
Change extension names in all extensions' zend_module_entry to their
...
directory name.
2000-03-06 18:44:01 +00:00
Egon Schmid
9c94a2b971
More protos.
2000-02-24 07:27:39 +00:00
Zeev Suraski
86fa2aade2
the pipe is breaking all the time
2000-02-19 23:41:32 +00:00
Zeev Suraski
39cb8fe0ac
Fix PostgreSQL startup routine in thread-safe mode
2000-02-05 17:26:35 +00:00
Zeev Suraski
212e25e4be
PostgreSQL compile fixes
2000-02-05 16:12:23 +00:00
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
...
you start counting at 0 or 1).
2000-01-01 01:32:05 +00:00
Zeev Suraski
90f1218fbb
- Change uint32 to php_uint32 (PostgreSQL defines uint32, and perhaps other packages too)
...
- PostgreSQL finally compiles&links
1999-12-26 00:18:44 +00:00
Zeev Suraski
7d2d48e116
Make PostgreSQL compile again
1999-12-25 23:59:14 +00:00
Zeev Suraski
06ab44337f
This should get it to compile...
1999-12-21 05:22:43 +00:00
Zeev Suraski
dc0a5f9c24
Fix PostgreSQL build
1999-12-19 22:44:55 +00:00
Zeev Suraski
3db6716761
More php3_ annihilation
1999-12-18 11:38:04 +00:00
Zeev Suraski
fb1c77bd4f
- Made PHP_VERSION and PHP_OS work again
...
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
1999-12-17 20:55:31 +00:00
Zeev Suraski
a3c6514332
More php3_ annihilation
1999-12-17 19:51:39 +00:00
Sascha Schumann
4a60eed469
Fix some warnings
1999-12-05 16:25:32 +00:00
Sascha Schumann
5b983c944f
Clean up php3.*\.h files. The files itself are renamed, and references in all
...
.*\.[ch] files were changed. There is a slight chance that my script missed
a few changes, please correct them manually.
1999-12-04 19:19:57 +00:00
Andi Gutmans
b89689f2ef
- More PGSQL thread-safe updates. It still doesn't work though. Crashes for
...
some reason at .dll load time
1999-11-20 01:14:36 +00:00