12th September 2019: PostgreSQL 12 Beta 4 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 supported versions listed above instead.

putline

Name

putline -- writes a line to the server socket [DA]

Synopsis

putline(line)

Parameters

line

Line to be written (string).

Return Type

none

Exceptions

TypeError

Bad argument type or too many (any) arguments.

pg.error

Invalid connection.

Description

putline() method allows to directly write a string to the server socket.