Lines Matching refs:lofd
3477 pgsql_lofp->lofd = pgsql_lofd;
3488 pgsql_lofp->lofd = pgsql_lofd;
3509 if (lo_close((PGconn *)pgsql->conn, pgsql->lofd) < 0) {
3510 …rror_docref(NULL, E_WARNING, "Unable to close PostgreSQL large object descriptor %d", pgsql->lofd);
3547 if ((nbytes = lo_read((PGconn *)pgsql->conn, pgsql->lofd, ZSTR_VAL(buf), ZSTR_LEN(buf)))<0) {
3593 if ((nbytes = lo_write((PGconn *)pgsql->conn, pgsql->lofd, str, len)) == (size_t)-1) {
3620 while ((nbytes = lo_read((PGconn *)pgsql->conn, pgsql->lofd, buf, PGSQL_LO_READ_BUF_SIZE))>0) {
3833 result = lo_lseek64((PGconn *)pgsql->conn, pgsql->lofd, offset, (int)whence);
3835 result = lo_lseek((PGconn *)pgsql->conn, pgsql->lofd, (int)offset, (int)whence);
3838 result = lo_lseek((PGconn *)pgsql->conn, pgsql->lofd, offset, whence);
3867 offset = lo_tell64((PGconn *)pgsql->conn, pgsql->lofd);
3869 offset = lo_tell((PGconn *)pgsql->conn, pgsql->lofd);
3872 offset = lo_tell((PGconn *)pgsql->conn, pgsql->lofd);
3899 result = lo_truncate64((PGconn *)pgsql->conn, pgsql->lofd, size);
3901 result = lo_truncate((PGconn *)pgsql->conn, pgsql->lofd, size);
3904 result = lo_truncate((PGconn *)pgsql->conn, pgsql->lofd, size);