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
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
> 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
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
> +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
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
6 matches
Mail list logo