Skip to content

Commit

Permalink
remove cruft from my last commit
Browse files Browse the repository at this point in the history
...i need more coffee
  • Loading branch information
josh-heyer committed Feb 18, 2022
1 parent 22d0342 commit 1db8a2a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ psql -d pagila

The relevant configuration parameter is [`listen_addresses`](https://www.postgresql.org/docs/current/runtime-config-connection.html#GUC-LISTEN-ADDRESSES):

```shell
```sql
show listen_addresses;
__OUTPUT__
listen_addresses
Expand All @@ -125,8 +125,8 @@ __OUTPUT__

The value for this server is `*` - which allows connections from anything. This doesn't need to be changed. If the value were to be empty, `localhost`, or a list of hosts or addresses that don't include our database server, we'd need to add its hostname (`backup`) to the list, or change it to the wildcard.

```shell
pagila=# ALTER SYSTEM SET listen_addresses TO "*";
```sql
ALTER SYSTEM SET listen_addresses TO "*";
__OUTPUT__
ALTER SYSTEM
```
Expand Down

0 comments on commit 1db8a2a

Please sign in to comment.