From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Damian Carey <jamianb(at)gmail(dot)com> |
Cc: | Postgresql <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: HOWTO? Permissions for user to access a single db |
Date: | 2023-02-13 21:59:48 |
Message-ID: | 1510083.1676325588@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Damian Carey <jamianb(at)gmail(dot)com> writes:
> We now need to provide access to an associate company to a single database
> (3 tables, ~10k rows) that our java app writes to (not JDBC, via
> Hibernate). We have a nice SSH tunnel coming in, but they cannot view the
> shared database (yes, I'm an amateur).
> I'm just looking for beginners suggestions to get this db visible to this
> user so we can continue our trials. They have their own Linux user login,
> and their SSH access gives them access to port 5432 and nothing else. They
> can see postgres, but no databases are visible.
What do you mean by "visible" ... that "select * from pg_database"
shows only "postgres"? If so, the most likely theory is that they
are not connecting to the same Postgres instance you are.
There's not any permission-based filtering on what you can see in
that catalog.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Damian Carey | 2023-02-13 22:44:09 | Re: HOWTO? Permissions for user to access a single db |
Previous Message | Damian Carey | 2023-02-13 21:45:18 | HOWTO? Permissions for user to access a single db |