Skip to content

Commit 626d881

Browse files
ag-gitlabaxilleas
authored andcommitted
Clarify use of 'port' when configuring postgres
1 parent 0131393 commit 626d881

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/settings/database.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,7 @@ the `postgresql` and `gitlab_rails` sections of `gitlab.rb`.
299299
The following settings are affected in the `postgresql` block:
300300
301301
- `listen_address`: Controls the address on which PostgreSQL will listen.
302-
- `port`: Controls the port on which PostgreSQL will listen, and _must be set_
303-
if `listen_address` is.
302+
- `port`: Controls the port on which PostgreSQL listens to. The default is `5432`.
304303
- `md5_auth_cidr_addresses`: A list of CIDR address blocks that are allowed to
305304
connect to the server, after authentication with a password.
306305
- `trust_auth_cidr_addresses`: A list of CIDR address blocks that are allowed

0 commit comments

Comments
 (0)