If you develop modules in Drupal you know what I am talking about here. However for the uninitiated, this might be useful.
Drupal provides an abstraction on the database and whether you are using mysql or postgres, you write only one code and call drupal's in built functions.