Updated Postgres connector to allow user to set whether or not to save results output to the database or on the file system. If saved to the file system, stream from file system to client using the link that is saved in the results table