Message-ID: From: "davecramer (@davecramer)" To: "pgjdbc/pgjdbc" Date: Tue, 18 Feb 2025 18:45:41 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #3526: Set column name explicitely when using `current_database()` in queries In-Reply-To: References: List-Id: X-GitHub-Author-Login: davecramer X-GitHub-Comment-Id: 2666603158 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3526 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3526#issuecomment-2666603158 Content-Type: text/plain; charset=utf-8 Probably not reverting it but changing the way it is done. In the one you are changing you could simply do `select 'db' as current_database` where `db` is the database in the connection URL, or whatever is returned in the startup parameters