LOADING STUFF...

PHP:pg_lo_truncate()的用法_PostgreSQL函数

技术教程12小时前发布 北陌
11 0 0

PHP:pg_lo_truncate()的用法_PostgreSQL函数

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

© 版权声明

相关文章

暂无评论

暂无评论...