Detect PostgreSQL version and abort if incompatible

New Feature: Detecting the PostgreSQL version currently running and aborting if it's incompatible.