September 26, 2024: PostgreSQL 17 Released!
Unsupported versions: 7.3 / 7.2 / 7.1
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the other supported versions listed above instead.

write

Name

write -- writes to the large object

Synopsis

write(string)

Parameters

string

Buffer to be written (string).

Return Type

none

Exceptions

TypeError

Bad parameter type, or too many arguments.

IOError

Object is not opened, or write error.

pg.error

Invalid connection or invalid object.

Description

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