★ wanayoo — archive 1999 http://www.php.net/manual/function.pg-loopen.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to PostgreSQL
Quick Reference
German version of this pageJapanese version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
PostgreSQL
* pg_close
* pg_cmdtuples
* pg_connect
* pg_dbname
* pg_errormessage
* pg_exec
* pg_fetch_array
* pg_fetch_object
* pg_fetch_row
* pg_fieldisnull
* pg_fieldname
* pg_fieldnum
* pg_fieldprtlen
* pg_fieldsize
* pg_fieldtype
* pg_freeresult
* pg_getlastoid
* pg_host
* pg_loclose
* pg_locreate
* pg_loexport
* pg_loimport
* pg_loopen
* pg_loread
* pg_loreadall
* pg_lounlink
* pg_lowrite
* pg_numfields
* pg_numrows
* pg_options
* pg_pconnect
* pg_port
* pg_result
* pg_trace
* pg_tty
* pg_untrace
Manual: pg_loopen
View the source code for this pageSearch the site



Previous page
 pg_loimport
 Updated
Sat, 12 Aug 2000
pg_loread 
Next page


pg_loopen

(PHP3 , PHP4 )

pg_loopen -- Open a large object

Description

int pg_loopen (int conn, int objoid, string mode)

Pg_loopen() open an Inversion Large Object and returns file descriptor of the large object. The file descriptor encapsulates information about the connection. Do not close the connection before closing the large object file descriptor. objoid specifies a valid large object oid and mode can be either "r", "w", or "rw".


User Contributed Notes: pg_loopen


brian@cybernaut.com
14-Apr-2000 01:04
Little known fact (to me, at least): blob function calls (e.g., pg_loopen(), pg_lowrite(), etc.) must be made during a pending transaction, so pg_exec($conn, "BEGIN") and pg_exec($conn, "COMMIT") are required.


 About Notes


Previous page
 pg_loimport
 Updated
Sat, 12 Aug 2000
pg_loread 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.