Postgres fix

I noticed postgres.db_list and postgres.user_list were not working. This seems to fix them