Postgres Run Query From Command Line