July 2005
Intermediate to advanced
1032 pages
27h 10m
English
At this point, you should have a pretty good understanding of how to use many of the libpq functions. There are two other issues I want to explore in this chapter: processing multiple result sets and asynchronous operations. Before we get to those, let's convert the previous client application (client3d) into an interactive query processor. After you've done that, you will have a good example of why you need to consider multiple result sets and asynchronous processing.
The next client that we want to build connects to a database and prompts you for a SQL command. client4 sends the command to the server and display the results. The program repeats this cycle (prompt, execute, display) until you enter the ...
Read now
Unlock full access