Skip to content

Commit

Permalink
Update README.md - add note for when there are several postgresql ins…
Browse files Browse the repository at this point in the history
…tallations

I found a previous comment about this issue here: #12 (comment)

However I couldn't make it work. I updated `PATH` before running `make` (even doing `export PATH=/usr/lib/postgresql/14/bin:$PATH`), but when running `sudo make install` it would always see the "wrong" version.
  • Loading branch information
paulovieira authored Jan 19, 2024
1 parent 6de3b67 commit 94c9801
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,15 @@ make
sudo make install
```

If there several PostgreSQL installations available, you might need to edit the Makefile before running `make` to something like this:

```
...
#PG_CONFIG = pg_config
PG_CONFIG = /usr/lib/postgresql/14/bin/pg_config
...
```

### Windows

There is a build available at [postgresonline](http://www.postgresonline.com/journal/archives/371-http-extension.html), not maintained by me.
Expand Down

0 comments on commit 94c9801

Please sign in to comment.