Message-ID: From: "yszzu1 (@yszzu1)" To: "pgjdbc/pgjdbc" Date: Wed, 26 Feb 2025 08:26:09 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #3166: query_id in pg_stat_activity is NULL when connecting from JDBC, but not from psql In-Reply-To: References: List-Id: X-GitHub-Author-Login: yszzu1 X-GitHub-Comment-Id: 2684262670 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3166 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/3166#issuecomment-2684262670 Content-Type: text/plain; charset=utf-8 > I met a problem, a SQL statement is execute very fast in psql, but if run in the java code, the execution is very slow, so I think the jdbc driver have some issue. > > can't try each perperty in org.postgresql.PGProperty not related to this issue. java client read long text/varchar (200k chars) spent a lot of time, psql is tested in cloud server which is much closer to DB. not easy to find the route cause, it may be easyer if has query_id