This site will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device.

The Open Source Zone


PostgreSQL (Developer's Library)

Book cover

by Korry Douglas, Susan Douglas

ASIN: 0735712573

See more on Amazon.com

Average Customer Review: 4.0, based on 19 reviews.

Customer reviews (5 of 19)

PostgreSQL (2nd Ed) worth having, 2008-03-09, Rating: 4.

As a developer with many years IT experience in control systems and only a little in databases and none with Postgres, I found this book to be extremely helpful. It covered a huge amount of topics with examples and put them together in a way that made it more efficient than googling!

It helped that I knew what topics I needed in looking for answers but the chapters were self explantory in the topics they covered which I believe would allow a beginner to make quick progress in learning Postgres.

Cavaet: If you are after a book to learn SQL and database design (normal forms) you will be disappointed, this book is not for you.

Comprehensive introduction to PostgreSQL, 2008-01-28, Rating: 5.

I am a database application developer with MS SQL Server, Oracle, Sybase and many other RDBMSs experience.
This book allowed me to start working on PostgreSQL immediately.
Pro: comprehensive, good examples, good supplement to the documentation.
Cons: is not deep enough for me (does not explain format of a transaction log file or WAL file, for example), but, I guess, I should read the PostgreSQL code for this.
If you are new to databases you would need to read some other books first.

Disappointed with a serious error, 2007-10-04, Rating: 3.

I'm upset that this book that I've been trusting for the past month or two has such an egregious error in its discussion of regular expressions on page 51. I wish the authors had left out any discussion of regexes if they weren't going to actually test their assumptions about a topic on which I assume they know little. :-(

Excellent resource for any PostgreSQL admin, 2007-08-12, Rating: 4.

PostgreSQL 2nd Edition is a phenomenal book if you're a programmer, and a great book if you're a non-programming admin. As someone whose programming ability reaches only ever so slightly beyond bash scripting and WSH, the parts of this book that were really worthwhile to me were those devoted to the administration of PostgreSQL. Backing up, recovering, and performance tuning were excellent resources, especially to someone who had never set up or administered a database. Speaking of which, the very beginning of the book, covering what exactly a database is, terminology, and setting up and creating schema were invaluable. To have all the information in PostgreSQL 2nd Edition consolidated in this one book makes it a must-have for any admin's bookshelf. The only reason it didn't get 5 stars from me was because I'm not a programmer, and I couldn't take away every single ounce this great resource had to offer.

a very comprehensive book, 2007-01-31, Rating: 3.

This book lives up to it's claims for "the comprehensive guide to building, programming and administering postgresql databases". I'm a MySQL guy, but may have to do a little pgsql to support a third party app, so I was looking for a book that would bring me up to speed.

The quick review is this... I give this book 3 stars, because it's so huge and covers so much territory that, in my opinion, it does a middling job of it. I would have preferred a more focussed book. I think, given it's goal of being so comprehensive, it is about as good as it could be and if you really need to know everything - from sql, to developing extensions, to embedding this in your c/c++ programs and administering things AND want a single book that covers it this is probably the book for you. If you don't need quite that much, or are willing to go to more than one book to get it, I think you would be better served to look elsewhere.

The longer review...

Honestly, I don't know why books on databases almost invariably are terribly dry reads, but this book, following the odds, falls into that category. It's a hefty tome weighing in at about 1000 pages divided into 3 sections.

The first category, about a quarter of the book, is an introduction to sql and postgresql in particular. It does quite a nice job of introducing your standard sql commands, datatypes and basic administrative commands (like creating tables and the like). This part goes from basic to fairly advanced, covering topics like outer joins and creating new datatypes. I suspect it'll be review for those familiar with sql but reasonably usable for those delving into sql, even if they don't immediately understand all of the more advanced concepts.

The section ends with a chapter on performance, something I was particularly interested in given postgresql's reputation. Here the authors talk about standard performancy things like indexes, using various tools to figure out what a particular query is actually doing, all worthwhile. But they never go into any detail about the performance implications of using some of the more advanced postgresql features like composite types and table inheritance. I was quite disappointed to find not even a whisper of this type of information in the book.

The second section, about half the book covers programming with postgresql. This is a very broad chapter - covering many aspects of what it means to program this database. From server side programming using PL/pgSQL to extending the database with custom functions and types. They discuss creating clients in c, c++, java, perl, php, tcl, python and .net. Each one of these languages gets a chapter about 30-50 pages long where they go over the basics of how that language typically connects to the database and then goes through a process of creating a basic client and refining over the course of 4 or 5 iterations to become more and more robust and full featured. This is the bulk of the book and because it's so wide spread, I think most people will only be interested in one or two of these chapters - the rest of which will probably be uninteresting.

The last section is the final quarter of the book where they go over the administrative requirements of the database. They admirably try to direct people to download and compile their own binaries, but cover installation from binary on unix and windows. They have an excellent reference on the things you can tweak to configure the runtime environment. They also cover backing up the database, replication, internationalization and security. Although they mention performance optimization in the intro to the section, they don't actually discuss it anywhere in the section.

So, to sum up. If you really need to know about all aspects of pgsql and are looking for a one stop shop, this book is - I think - as good as you're going to find. But if you're looking into only a particular aspect (developing, administereing, etc..) or don't mind going to more than one, I feel confident that there's other books out there that will cover those topics in better detail.

See more reviews on Amazon.com...