Lines Matching refs:lfd
123 return lo_write(self->conn, self->lfd, (char*)buf, count); in pgsql_lob_write()
129 return lo_read(self->conn, self->lfd, buf, count); in pgsql_lob_read()
138 lo_close(self->conn, self->lfd); in pgsql_lob_close()
154 int pos = lo_lseek(self->conn, self->lfd, offset, whence); in pgsql_lob_seek()
171 php_stream *pdo_pgsql_create_lob_stream(pdo_dbh_t *dbh, int lfd, Oid oid TSRMLS_DC) in pdo_pgsql_create_lob_stream() argument
178 self->lfd = lfd; in pdo_pgsql_create_lob_stream()
868 Oid lfd; in PHP_METHOD() local
874 lfd = lo_creat(H->server, INV_READ|INV_WRITE); in PHP_METHOD()
876 if (lfd != InvalidOid) { in PHP_METHOD()
878 spprintf(&buf, 0, "%lu", (long) lfd); in PHP_METHOD()
894 int lfd; in PHP_METHOD() local
921 lfd = lo_open(H->server, oid, mode); in PHP_METHOD()
923 if (lfd >= 0) { in PHP_METHOD()
924 php_stream *stream = pdo_pgsql_create_lob_stream(dbh, lfd, oid TSRMLS_CC); in PHP_METHOD()