Scroll to navigation

GOLF(2gg) Development GOLF(2gg)

NAME

postgresql-database - Golf documentation (database)

DESCRIPTION

Postgres database configuration file has a Postgres connection string.

You can see the parameters available at https://www.postgresql.org/docs/14/libpq-connect.html#LIBPQ-CONNSTRING.

Most of the time, though, you may be using only a few of those options, as in:

user=myuser password=mypwd dbname=mydb

The above file has parameters "user" (Postgres user), "password" (the password for Postgres user), "dbname" (the Postgres database name). If you use peer-authenticated (i.e. passwordless) login, then omit "password" - this is when the Postgres user name is the same as your Operating System user name and where local unix domain socket is used for authentication.

SEE ALSO


Database

begin-transaction commit-transaction current-row database-config-file db-error mariadb-database postgresql-database rollback-transaction run-query sqlite-database See all documentation

$VERSION $DATE