Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
m110 committed Oct 24, 2024
1 parent 675f6b7 commit cc91ad3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/pq/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ go install github.com/ThreeDotsLabs/watermill/tools/pq@latest

Set the `DATABASE_URL` environment variable to your PostgreSQL connection string.

For example, to connect to the database used for the [delayed requeue example](../../_examples/real-world-examples/delayed-requeue):

```bash
export DATABASE_URL="postgres://watermill:password@postgres:5432/watermill?sslmode=disable"
```

```bash
pq -backend postgres -topic requeue
```
Expand Down

0 comments on commit cc91ad3

Please sign in to comment.