Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 425 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 425 Bytes

PostgreSQL Python Example

This example uses the psycopg2 library to connect to PostgreSQL and perform a simple query.

Installing Dependencies

pip install psycopg2-binary

Running The Example

Note: You can retrieve the Service URI from the Aiven Console overview tab.

./main.py --service-uri postgres://<user>:<password>@<host>:<port>/<database>?<options>