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.1 reached end of support in April 2006. See the current manual for supported releases.

get_defbase

Name

get_defbase -- get default database name specification [DV]

Synopsis

get_defbase()

Parameters

none

Return Type

string or None

Default debug database name specification

Exceptions

SyntaxError

Too many arguments.

Description

get_defbase() returns the current default database name specification, or None if the environment variables should be used. Environment variables will not be looked up.

Report a documentation issue

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