Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tcq0t-00347y-Ai for pgsql-general@arkaria.postgresql.org; Tue, 28 Jan 2025 18:08:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tcq0s-002fa1-CK for pgsql-general@arkaria.postgresql.org; Tue, 28 Jan 2025 18:08:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tcq0s-002fZt-2I for pgsql-general@lists.postgresql.org; Tue, 28 Jan 2025 18:08:38 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tcq0p-0020Oo-08 for pgsql-general@lists.postgresql.org; Tue, 28 Jan 2025 18:08:37 +0000 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-3862d6d5765so3591697f8f.3 for ; Tue, 28 Jan 2025 10:08:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738087715; x=1738692515; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=GMNcjJHI6STCCqvZ4OshwCJeCz1Q7E3XwOJJ25MlaCE=; b=W9i1Bby0JTKqyaBwXLMzaj5OM/JB8aXpAWMUFy/DcUZZRTEnhlBGQ82OlLheWW6RqY TSSYfor2/Hu+fDoFe80cYX9iSejHUmKTQLurSi2HuiS/xUNa46BWo8zlHb6s8ezVJxnk dPejloQh0UQkrukujxMkF3hYMFcFzPF8WOgVFOrDVzExkM39iCUzMXUK4Lc0rSy67Aaf dIC3nY7um44qFHOct4o24gI/d15r0T2Rv/Dqu+aFPEcla4rPBlFgc4q1Tr6d2v6hdzdq 9D6KcthB7TcU8AjUAKEOAhcC+3yPm126WYxqcbHbPOkAYfGDtZS/oYxSHQ/Syr0W4riM IDeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738087715; x=1738692515; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=GMNcjJHI6STCCqvZ4OshwCJeCz1Q7E3XwOJJ25MlaCE=; b=HZbRvXOmf3wFi6+07EcbbunIuwvOUhIkJ5vUpqMMMAPJTT7kPRQn4YLihm/AblnxkN U45hOVg9HPMroCpaZ2d55JGrR9mNBKh0g7P+bT+kc39rx+xtGELnRV9r92wfKp9psgfv d+ynQD6AACFlgoEePCW+rrCFdiwT5MptbIresxwOIMGtPYyniU7GWCrJWjQrvGjMyDse mIAjG9OMB6u9CaaXDAva1HqArb1EtNQFkW6mb63wjmrpm3fignGgowhObGbP443cQ7Cm 3D2emVPD2NOtJ886zXLxtOceXJqIQKx/R7J8iUrMTCi1dL+n+xUFK4tKMA1egQT53dZo ouDQ== X-Gm-Message-State: AOJu0Yw5CyetzU/Mit9d+tEOLlKHgBZDHGzi3na6u8Rwiudo0gMO/qMV 7taKa0LPJR4M1H1Rgwak8QyK48c1haWBk9B2ePLzEJLGEa4BTsGmTjnQg1WAGFOABmcvsXd2Aoh nvEG2JiES8Rmf2EP0kvCwVmqd7Wi2wzZD X-Gm-Gg: ASbGncu/6yPk1xr3fK6ZaCUZKx4UJ5uWvgGGAeKFCRuHJHEk/u2xpANIEhvqdJeA+LK 1qqcexZU8LoUFYU8lnPHRphRrlJlyzg9Gj/FMTRzaiqUHTfBLEEEaef/hYf9J/ijuBpRGSBsL X-Google-Smtp-Source: AGHT+IE0MCKeAyVeHF1biz/+TWRZXNL0HTSYLQjQgd97S8FJ9F4uDKfUokT3v4mSVbMDo3++TvvZRG8l9O5FMCZePlE= X-Received: by 2002:a5d:6d0e:0:b0:38a:9ffb:fe2f with SMTP id ffacd0b85a97d-38c516780f1mr64809f8f.0.1738087714422; Tue, 28 Jan 2025 10:08:34 -0800 (PST) MIME-Version: 1.0 References: <19043fe9-076b-4d94-a81c-f4292551b8be@aklaver.com> In-Reply-To: From: Shaheed Haque Date: Tue, 28 Jan 2025 18:08:23 +0000 X-Gm-Features: AWEUYZnEePGMwDUxeypDpD5w2Lm4-M9BTAm7CPUPXKk-IyK4VFiZFKIrq2ZwQyQ Message-ID: Subject: Re: Content of pg_publication using a local connection versus network connection? To: Adrian Klaver Cc: pgsql-general list Content-Type: multipart/alternative; boundary="000000000000ce8b13062cc814d9" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000ce8b13062cc814d9 Content-Type: text/plain; charset="UTF-8" Thanks for the confirmation. On Tue, 28 Jan 2025 at 18:06, Adrian Klaver wrote: > > > 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 > --000000000000ce8b13062cc814d9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Thanks for the confirmation.

--000000000000ce8b13062cc814d9--