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 @   techbing  阅读(5)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全网最简单!3分钟用满血DeepSeek R1开发一款AI智能客服,零代码轻松接入微信、公众号、小程
· .NET 10 首个预览版发布,跨平台开发与性能全面提升
· 《HelloGitHub》第 107 期
· 从文本到图像:SSE 如何助力 AI 内容实时呈现?(Typescript篇)
· 全程使用 AI 从 0 到 1 写了个小工具
点击右上角即可分享
微信分享提示