Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Lucie Nicolier <[email protected]>
  • Loading branch information
suricactus and lucienicolier authored Mar 2, 2024
1 parent 62b5192 commit 1f14f3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documentation/how-to/pg-service.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Before beginning, ensure that your PostgreSQL database allows connections from Q

### Setup `pg_service.conf` File

We first need to setup a configuration file. There are a lot of option to organize this, [read more in the PostgreSQL documentation](https://www.postgresql.org/docs/current/libpq-pgservice.html) or follow the description below.
We first need to set up a configuration file. There are many options to organize this, [read more in the PostgreSQL documentation](https://www.postgresql.org/docs/current/libpq-pgservice.html) or follow the description below.

1. **Create a Configuration File**:

Expand Down Expand Up @@ -62,7 +62,7 @@ We first need to setup a configuration file. There are a lot of option to organi
1. **Set Environment Variable**:
To ensure QGIS recognizes `pg_service.conf`, create an environment variable pointing to its location:

- Navigate to "This PC" or "My Computer" > Properties > Advanced system settings > Environment Variables.
- Navigate to "This PC" or "My Computer" > Properties > Advanced System Settings > Environment Variables.
- Add a new variable:
- Variable name: `PGSERVICEFILE`
- Variable value: `C:\Users\<YourUsername>\AppData\Roaming\postgresql\pg_service.conf` (or your `pg_service.conf` file path).
Expand Down

0 comments on commit 1f14f3a

Please sign in to comment.