General Structure of Client Applications
This is a good time to discuss, in general terms, how a client application interacts with a PostgreSQL database. All the client APIs have a common structure, but the details vary greatly from language to language.
Figure 5.1 illustrates the basic flow of a client's interaction with a server.
Figure 5.1. Client/server interaction.
An application begins interacting with a PostgreSQL database by establishing a connection.
Because PostgreSQL is a client/server database, some sort of connection must exist between a client application and a database server. In the case of PostgreSQL, client/server communication ...
Get PostgreSQL, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.