Hudzilla.org - the homepage of Paul Hudson
Contents > Databases > History Wish List | Report Bug | About Me ]

9.2.2     PostgreSQL

This is NOT the latest copy of this book; click here for the latest version.

PostgreSQL is the world's most advanced open-source DBMS, and is quite fast. It supports all of the features described earlier, such as stored procedures, triggers, and views, but it is not as fast as MySQL as a result. From version 7.4 onwards, there is native Windows support (previously there was not), so Postgres (as it is most commonly referred to) is cross-platform like MySQL.

The Postgres developers have a strong belief in developing standards-compliant software, so they keep fairly stringently to agreed database definitions. The lack of a proper Windows port has left Postgres in MySQL's dust when it comes to speed of adoption, however once users tend to hit the ceiling of MySQL's ability and need functionality that just is not going to be available for at least a year yet, people often migrate over to Postgres. Luckily PHP makes this transition easy.

9.2.2.1 Advantages

  • Free

  • Cross-platform

  • Feature-complete

9.2.2.2 Disadvantages

  • Not the fastest

  • Poor Windows support





<< 9.2.1 MySQL   9.2.3 Oracle >>
Table of Contents
Want to see this stuff in print? PHP in a Nutshell takes the core topics covered here, adds in thousands of edits from the editorial team and myself, and combines them to make an unbeatable reference for PHP programmers at all levels.



My latest book has hundreds more tips on how to use PHP, Apache, and MySQL, plus Perl, Python, shell scripts, performance tuning, and more!



Top-right shadow
 
Bottom-left shadow Bottom shadow

Comments from other readers
A PHP User - 16 Oct 2008

quite possibly like apache it doesn't run as well on windows,

A PHP User - 16 Oct 2008

Yeah I also want to now that! Please post a comment to answer that.

dwahler@gmail.com - 16 Oct 2008

Why is "poor Windows support" still listed as a disadvantage when there is now a native Windows version?



Add comment
Please note that by posting a comment here you are committing it to the public domain. This is important so that others can make use of your code themselves, and also so that I can incorporate helpful notes directly into the main text. Comments are limited to 2000 characters in length.

If you are reporting an error in the content, please tell me directly.

Your name/email address:
Your comment:
 
Now, in order to verify that you're a real person, please answer this simple question: what is nine plus one?
The answer is:
(please write in
numbers, eg 19)


Top-right shadow
 
Bottom-left shadow Bottom shadow