PostgreSQL: Developer's Handbook
Ewald Geschwinde, Hans-Juergen Schoenig
$900Windows System Programming, 3/e (Hardcover)
PostgreSQL is the world's most advanced open-source database. PostgreSQL Developer's Handbook is the most comprehensive, in-depth, and easy-to-read guide to this award-winning database. This book starts with a thorough overview of SQL, a description of all PostgreSQL data types, and complete explanation of PostgreSQL commands.
If you are a developer or an administrator, you'll love the chapter that explores PostgreSQL performance. The authors explain how PostgreSQL stores data on disk (and in memory) and how to measure and influence the effectiveness of PostgreSQL's caching mechanisms. You'll also learn how PostgreSQL generates and evaluates execution plans. The authors explain all of the query operators that can appear in the results of an EXPLAIN command, describing the performance implications of each operator as well as the conditions which will cause PostgreSQL to use that operator.
PostgreSQL Developer's Handbook is also a complete guide for the developer. Whether you're developing with C, C++, ODBC, Embedded SQL, Java, Tcl/Tk, Perl, Python or PHP, you'll find a comprehensive description of the PostgreSQL API for your language of choice. Easy to follow exercises will walk you through the development of working applications that fully demonstrate the features offered by each API. You will also find a chapter that describes the PL/pgSQL server-side procedural language, learning how to build triggers, functions, and stored-procedures. The authors have even included a chapter that walks you through the process of extending the PostgreSQL server with custom-written C functions and new data types. The accompanying Web site, www.conjectrix.com, contains downloadable versions of all of the sample code and a wealth of PostgreSQL-related resources.
The last section of PostgreSQL Developer's Handbook was written for the PostgreSQL administrator. You will learn how to install PostgreSQL on Windows, Linux, and UNIX systems, from source code or from pre-compiled installers. The authors have described all of the PostgreSQL configuration options (compile-time, startup, and on-the-fly). The chapter on PostgreSQL security describes all of the authentication protocols that you can choose from and describes all of the authentication protocols that you can choose from and describes how to secure your database, both internally and externally. If you have to support a multi-national environment, you will find the chapter on internationalization and localization to be invaluable.
You won't find a more complete guide to PostgreSQL anywhere. The authors have made PostgreSQL approachable by leading the reader from basic concepts to advanced features. Whether you're a database beginner or an advanced user, you will find this book a valuable addition to your library.
Table of Contents
1. About PostgreSQL.
3. An Introduction to SQL.
5. Understanding Transactions.
6. Database Administration.
7. Backup and Recovery.
8. Performance Tuning.
9. Programming Interfaces.
10. Open Source Software.
II. PRACTICAL POSTGRESQL SOLUTIONS.
11. Importing Data and Working with Binary Data.
12. Generating Multi-dimensional Results.
13. Classification of Data-Real World Examples.
14. Generating Flash with PostgreSQL and PHP.
15. PostgreSQL Regressions Tests.
16. Extending PostgreSQL's Core Features.
17. Date Calculations.
18. Persistent Database Connections with PHP.
19. Using PostgreSQL and Microsoft Software over the Network.
20. Drawing Graphs on UNIX Systems Using gnuplot and PostgreSQL.