
pg_lo_truncate
(No version information available, might only be in Git)
pg_lo_truncate —
Truncates a large object
说明
bool pg_lo_truncate
( resource $large_object
, int $size
)
pg_lo_truncate() truncates a large object
resource.
To use the large object interface, it is necessary to
enclose it within a transaction block.
参数
large_object
PostgreSQL large object (LOB) resource, returned by pg_lo_open().
size
The number of bytes to truncate.
返回值
成功时返回 TRUE, 或者在失败时返回 FALSE。
范例
Example #1 pg_lo_truncate() example
© 版权声明
文章版权归作者所有,未经允许请勿转载。
相关文章
暂无评论...