This page in other versions: Unsupported versions: 7.1 / 7.2 / 7.3

read

Name

read -- reads from the large object

Synopsis

read(size)

Parameters

size

Maximal size of the buffer to be read (integer).

Return Type

string

The read buffer.

Exceptions

TypeError

Bad parameter type, or too many arguments.

IOError

Object is not opened, or read error.

pg.error

Invalid connection or invalid object.

Description

read() method allows to read data from the large object, starting at current position.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group