Re: HOWTO? Permissions for user to access a single db

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 22:54:32
Message-ID: 1515580.1676328872@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:
> The PP product is on MSSQL, so they use some connector (sorry, no idea
> what) from the customer PC to access my PG14 on Ubuntu.

Black boxes are fun aren't they.

> This is their screenshot supplied to me of a working connection ....
> [image: image.png]
> Below is our second trial/proof-of-concept where I tried to limit them to
> ONLY need-to-know on the one shared database they read from.
> It seems they are accessing (the one and only) PG cluster on the VPS, but
> no database is visible, only "default".
> [image: image.png]

These images didn't come through, but they probably wouldn't have
added anything anyway.

It seems that either their connector is doing something strange or
you misconfigured things on your side, but there's no evidence here
to say which. I'd counsel enabling log_connections, and maybe
log_statements too, and then looking into the postmaster log to see
what happens when they try to connect.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Damian Carey 2023-02-13 23:14:32 Re: HOWTO? Permissions for user to access a single db
Previous Message Damian Carey 2023-02-13 22:44:09 Re: HOWTO? Permissions for user to access a single db