Visual Studio
Starting with PostgreSQL 8.4, on Windows the database can be built using Visual Studio. This means that it's possible to use the Visual Studio tools including the debugger and profiler in order to analyze the performance of the database code.