psql -U user -l cive all db list

From: Margus Roo <margusja(at)kodila(dot)ee>
To: pgsql-general(at)postgresql(dot)org
Subject: psql -U user -l cive all db list
Date: 2005-05-17 09:27:28
Message-ID: 4289B900.8060204@kodila.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hey,
For example, I have 10 postgres db created by postgres superuser postgres.
when I login with postgres and do: psql -l I see all databases its OK.

Now I create new user test_user and create new database with -O
test_user - test_db.
now I do under test_user: psql -U test_user -l and I see again all
databases :( but test_user is only test_db owner.

What I must change that non root user will see only own databases?

Best reg, Margusja

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2005-05-17 09:52:05 Re: psql -U user -l cive all db list
Previous Message Wen Guangcheng 2005-05-17 08:39:55 Re: Problem in creating a table(Thanks)