Re: Content of pg_publication using a local connection versus network connection? - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Content of pg_publication using a local connection versus network connection?
Date
Msg-id e718519d-a264-4c77-8edb-fac24551ee77@aklaver.com
Whole thread Raw
In response to Re: Content of pg_publication using a local connection versus network connection?  (Shaheed Haque <shaheedhaque@gmail.com>)
Responses Re: Content of pg_publication using a local connection versus network connection?
List pgsql-general

On 1/28/25 10:02 AM, Shaheed Haque wrote:
> Hi,
> 
> Based on the nudge from Adrian, I think I am now trying to connect to 
> the correct/same database through both the original 
> login-to-EC2-host-then-use-psql-to-RDS and then 
> setup-SSHTunnel-then-connect-via-psycopg-over-tunnel.
> 
> The connect-via-psycopg-over-tunnel bit currently fails. Obviously, that 
> is almost certainly a bug in my code, but I am aware that the Postgres' 
> HBA setup is capable of distinguishing local logins from remote logins, 
> so I wanted to check if Postgres' login security can similarly 
> distinguish between a (remote) psql login and a (remote) psycopg login?

They both use libpq so I doubt it.

> 
> Thanks, Shaheed
> 
> 
> 
> On

-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Shaheed Haque
Date:
Subject: Re: Content of pg_publication using a local connection versus network connection?
Next
From: Shaheed Haque
Date:
Subject: Re: Content of pg_publication using a local connection versus network connection?