Developer Forums | Newsletter Signup | About Us | developerworks Latest | Site Map
Search  
HOME > PHPMANUAL


Sponsors






Web Host
site hosted by netplex

Online Manuals

pg_lo_export

(PHP 4 >= 4.2.0)

pg_lo_export -- Export a large object to file

Description

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

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.

Note: This function used to be called pg_loexport().

See also pg_lo_import().

Copyright 2004-2008 GrindingGears.com. All rights reserved. Site hosted by NETPLEX