Simultaneous Processing of Results from Multiple Statements Using the Same Connection
The PostgreSQL libpq API fetches the entire result of an execution to the client. Hence it is possible to execute multiple operations on a single connection and process their results simultaneously.