pg_lo_truncate

pg_lo_truncate

(No version information available, might only be in Git)

pg_lo_truncate Truncates a large object

Description

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.

Parameters

large_object

PostgreSQL larg