select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Unsupported versions: 7.3 / 7.2 / 7.1
Historical version. PostgreSQL 7.2 reached end of support in February 2007. See the current manual for supported releases.

set_deftty

Name

set_deftty -- set default debug terminal specification [DV]

Synopsis

set_deftty(terminal)

Parameters

terminal

New default debug terminal (string/None).

Return Type

string or None

Previous default debug terminal specification.

Exceptions

TypeError

Bad argument type, or too many arguments.

Description

set_deftty() sets the default terminal value for new connections. If None is supplied as parameter, environment variables will be used in future connections. It returns the previous setting for default terminal.

Report a documentation issue

Read the upstream documentation. For corrections, first check the current manual.