fix postgresql table and column fetch queries

The queries sent to Postgres in get_tables were erroneous and thus returned only database_name to the Navigator. The get_columns function used MySQL syntax instead of Postgres.