Документ взят из кэша поисковой машины. Адрес оригинального документа : http://old.master.cmc.msu.ru/php/function.pg-locreate.html
Дата изменения: Sun Feb 3 22:53:09 2002
Дата индексирования: Tue Oct 2 05:31:35 2012
Кодировка:
pg_locreate

pg_locreate

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

pg_locreate -- Create a large object

Description

int pg_locreate ( resource connection)

pg_locreate() creates an Inversion Large Object and returns the oid of the large object. connection specifies a valid database connection opened by pg_connect() or pg_pconnect(). PostgreSQL access modes INV_READ, INV_WRITE, and INV_ARCHIVE are not supported, the object is created always with both read and write access. INV_ARCHIVE has been removed from PostgreSQL itself (version 6.3 and above). It returns large object oid otherwise. It returns FALSE, if an error occurred,

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