psql -U user -l cive all db list - Mailing list pgsql-general

From Margus Roo
Subject psql -U user -l cive all db list
Date
Msg-id 4289B900.8060204@kodila.ee
Whole thread Raw
Responses Re: psql -U user -l cive all db list
List 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

pgsql-general by date:

Previous
From: "Wen Guangcheng"
Date:
Subject: Re: Problem in creating a table(Thanks)
Next
From: Richard Huxton
Date:
Subject: Re: psql -U user -l cive all db list