Message-ID: From: "sehrope (@sehrope)" To: "pgjdbc/pgjdbc" Date: Wed, 12 May 2021 13:01:05 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #2148: Avoid leaking server error details through BatchUpdateException when logServerErrorDetail=false In-Reply-To: References: List-Id: X-GitHub-Author-Login: sehrope X-GitHub-Comment-Id: 631018761 X-GitHub-Comment-Type: review_comment X-GitHub-Commit: 064513cb6ee26993c24aa31374665899d7b07ea7 X-GitHub-Issue: 2148 X-GitHub-Path: pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: review_comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/2148#discussion_r631018761 Content-Type: text/plain; charset=utf-8 (on pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java) This member variable can be `final`. And for the comment how about: `// Whether to include error details in logging and exceptions`