Lines Matching refs:lofd
3480 pgsql_lofp->lofd = pgsql_lofd;
3491 pgsql_lofp->lofd = pgsql_lofd;
3512 if (lo_close((PGconn *)pgsql->conn, pgsql->lofd) < 0) {
3513 …rror_docref(NULL, E_WARNING, "Unable to close PostgreSQL large object descriptor %d", pgsql->lofd);
3550 if ((nbytes = lo_read((PGconn *)pgsql->conn, pgsql->lofd, ZSTR_VAL(buf), ZSTR_LEN(buf)))<0) {
3596 if ((nbytes = lo_write((PGconn *)pgsql->conn, pgsql->lofd, str, len)) == (size_t)-1) {
3623 while ((nbytes = lo_read((PGconn *)pgsql->conn, pgsql->lofd, buf, PGSQL_LO_READ_BUF_SIZE))>0) {
3836 result = lo_lseek64((PGconn *)pgsql->conn, pgsql->lofd, offset, (int)whence);
3838 result = lo_lseek((PGconn *)pgsql->conn, pgsql->lofd, (int)offset, (int)whence);
3841 result = lo_lseek((PGconn *)pgsql->conn, pgsql->lofd, offset, whence);
3870 offset = lo_tell64((PGconn *)pgsql->conn, pgsql->lofd);
3872 offset = lo_tell((PGconn *)pgsql->conn, pgsql->lofd);
3875 offset = lo_tell((PGconn *)pgsql->conn, pgsql->lofd);
3902 result = lo_truncate64((PGconn *)pgsql->conn, pgsql->lofd, size);
3904 result = lo_truncate((PGconn *)pgsql->conn, pgsql->lofd, size);
3907 result = lo_truncate((PGconn *)pgsql->conn, pgsql->lofd, size);