Postgres Command Line Query String Example