What is a connection? A connection is a TCP connection between your application and the PostgreSQL database.