in reply to Postgres + Perl + Ubuntu

You don't have to use 9.3. Check out the PostgreSQL downloads page for Ubuntu: https://www.postgresql.org/download/linux/ubuntu/. You can get 9.4 from the apt repo or get 9.5 by building from source (which is not as hard as it sounds).

(update: grammar)