Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Installation of the psycopg package
  • Loading branch information
VaeterchenFrost committed Dec 18, 2024
1 parent 40f923f commit 9c11196
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,11 @@ After installing the project [dp_on_dbs](https://github.com/hmarkus/dp_on_dbs) w
- **VertexCover**: `python construct_dpdb_visu.py [PROBLEMNUMBER] --twfile [TWFILE]`
with the file in DIMACS tw-format containing the edges of the graph.

# Installation of the psycopg2 package
# Installation of the psycopg package

See https://www.psycopg.org/docs/install.html#build-prerequisites
See https://www.psycopg.org/psycopg3/docs/basic/install.html

For example on Linux this might need
`sudo apt install libpq-dev`
before completion.

**Note** Whatever version of `libpq` psycopg2 is compiled with, it will be possible to connect to PostgreSQL servers of any [supported version](https://www.psycopg.org/docs/install.html#prerequisites): just install the most recent libpq version or the most practical, without trying to match it to the version of the PostgreSQL server you will have to connect to.
**Note** Whatever version of `libpq` psycopg is compiled with, it will be possible to connect to PostgreSQL servers of any [supported version](https://www.psycopg.org/docs/install.html#prerequisites): just install the most recent libpq version or the most practical, without trying to match it to the version of the PostgreSQL server you will have to connect to.

---

Expand Down

0 comments on commit 9c11196

Please sign in to comment.