openGauss lo_tell

lo_tell

功能描述

得到一个大对象描述符的当前读或写位置。

原型

int lo_tell(PGconn* conn, int fd);

参数

表 1 lo_tell参数

关键字

参数说明

conn

一个数据库连接

fd

文件描述符

返回值

int:失败时返回值为-1。

lo_tell64

功能描述

将一个(可能超过2GB大小)大对象截断成一个给定长度。

原型

long int lo_tell64(PGconn *conn, int fd);

参数

表 1 lo_tell64参数

关键字

参数说明

conn

一个数据库连接

fd

文件描述符

返回值

int:失败时返回值为-1。

示例

请参见示例章节。

详情查看:https://opengauss.org

详情查看:https://docs-opengauss.osinfra.cn

posted @ 2024-05-16 18:51  techbing  阅读(2)  评论(0编辑  收藏  举报