Compile PostgreSQL 9.3.4 from source under Ubuntu

The advantage of compiling PostgreSQL from source is that you can compile with certain flags/options which may be missing/disabled in stock-standard Ubuntu packages. Caveats and disclaimers I don't pretend to be an expert at Postgresql (Feel free to comment below).…