Remove debugging statement. Added sql statement to confirm version of postgres we're going against.
Typo in database name