PHP 手冊
前一頁 |  | 下一頁

# pg_lo_export

(PHP 4 >= 4.2.0, PHP 5)

pg_lo_export -- Export a large object to file

## Description

bool pg_lo_export ( [resource connection, int oid, string pathname] )

The oid argument specifies oid of the large object to export and the pathname argument specifies the pathname of the file. It returns `FALSE` if an error occurred, `TRUE` otherwise.

To use the large object (lo) interface, it is necessary to enclose it within a transaction block.

> 注: This function used to be called pg_loexport().

See also pg_lo_import().

前一頁 | 內容 | 下一頁
pg_lo_create | 上一層 | pg_lo_import