downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

pg_lo_seek> <pg_lo_read_all
[edit] Last updated: Tue, 21 May 2013

view this page in

pg_lo_read

(PHP 4 >= 4.2.0, PHP 5)

pg_lo_readLegge un large object

Descrizione

string pg_lo_read ( resource $large_object , int $lung )

pg_lo_read() legge al massimo lung byte da un large object e li restituisce sotto forma di stringa. large_object specifica una risorsa large object valida e lung specifica la lunghezza massima accettabile del segmento del large object. Restituisce FALSE in caso di errore.

Per utilizzare l'interfaccia large object (lo), occorre includere il comando in un blocco di transazione.

Nota:

Questa funzione si chiamava pg_loread().

Vedere anche pg_lo_read_all().



add a note add a note User Contributed Notes pg_lo_read - [1 notes]
up
0
bobahspb at gmail dot com
1 year ago
Be careful: pg_lo_export() create empty file without "begin"/"end".
See docs: "...it is necessary to enclose it within a transaction block..."

 
show source | credits | sitemap | contact | advertising | mirror sites