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.

getline

Name

getline -- gets a line from server socket [DA]

Synopsis

getline()

Parameters

none

Return Type

string

The line read.

Exceptions

TypeError

Bad argument type or too many (any) arguments.

pg.error

Invalid connection.

Description

getline() method allows to directly read a string from the server socket.