[PHP-CVS] cvs: php4 /ext/pgsql pgsql.c php_pgsql.h

2001-04-04 Thread Thies C. Arntzen
thies Wed Apr 4 14:40:41 2001 EDT Modified files: /php4/ext/pgsql pgsql.c php_pgsql.h Log: make it compile with 6.5.x postgresql notices are now send to the standard error-log Index: php4/ext/pgsql/pgsql.c diff -u php4/ext/pgsql/pgsql.c:1.95 php4/ex

[PHP-CVS] cvs: php4 /ext/pgsql pgsql.c php_pgsql.h

2001-02-13 Thread Thies C. Arntzen
thies Tue Feb 13 10:28:25 2001 EDT Modified files: /php4/ext/pgsql pgsql.c php_pgsql.h Log: @- PostgreSQL now does a rollback at the end of a request on every @ persistent connection. This is done by doing an "empty" transaction @ on the connection (T

Re: [PHP-CVS] cvs: php4 /ext/pgsql pgsql.c php_pgsql.h

2001-01-20 Thread Sascha Schumann
> Strange, I compiled it at home, and it gave me no troubles, must be a > wrong regexp to replace spaces by tabs then. I'll look into it later. Another issue is the lo_lseek() call. The third and fourth parameters are prototyped as int, but you are passing in char *. - Sascha

Re: [PHP-CVS] cvs: php4 /ext/pgsql pgsql.c php_pgsql.h

2001-01-20 Thread Derick Rethans
On Sat, 20 Jan 2001, Sascha Schumann wrote: > > +PHP_FUNCTION(pg_lolseek) { > > + val **pgsql_lofp, **seek_offset, **seek_whence; > ^^^ > > + gLofp *pgsql; > ^ > > + long int offset; > .. > > + ffset = lo_tell((PGconn *)pgsql->conn, pgsql->lofd); > ^ > > + ETURN_LONG (of

Re: [PHP-CVS] cvs: php4 /ext/pgsql pgsql.c php_pgsql.h

2001-01-20 Thread Sascha Schumann
> +PHP_FUNCTION(pg_lolseek) { > + val **pgsql_lofp, **seek_offset, **seek_whence; ^^^ > + gLofp *pgsql; ^ > + long int offset; .. > + ffset = lo_tell((PGconn *)pgsql->conn, pgsql->lofd); ^ > + ETURN_LONG (offset); ^ Derick, this patch is completely brok

[PHP-CVS] cvs: php4 /ext/pgsql pgsql.c php_pgsql.h

2001-01-18 Thread Derick Rethans
derick Thu Jan 18 14:17:05 2001 EDT Modified files: /php4/ext/pgsql pgsql.c php_pgsql.h Log: - Added the pg_lolseek function, which allows for arbitrary seeking within a large object, and the pg_lotell call, which can be used to find the current file