We are running PostgreSQL 8.3 as the DB server for our ERP system. So far there was no necessity to create different databases under different users (roles in terms of 8.3) in postgres. And now it has appeared.
Question 1: Is it correct that a user with no superuser privilege can read/write only to its owned databases (assuming the user has the CREATEDB privilege)?
Question 2: How can I disable for a user the listing of all databases via the psql -l
command? Even if the answer to the first question is yes then this listing is still available to an arbitrary user.
Thank you.