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.
size
Name
size -- gives the large object size
Synopsis
size()
Return Type
- integer
-
The large object size.
Exceptions
- SyntaxError
-
Too many arguments.
- IOError
-
Object is not opened, or seek/tell error.
- pg.error
-
Invalid connection or invalid object.
Description
size()
method allows to get the
size of the large object. It was implemented because this
function is very useful for a WWW interfaced database. Currently
the large object needs to be opened.