Message-ID: From: "SophiahHo (@SophiahHo)" To: "pgjdbc/pgjdbc" Date: Thu, 03 Apr 2025 14:27:04 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #3528: Implement performance fix for catalog check in DatabaseMetaData In-Reply-To: References: List-Id: X-GitHub-Author-Login: SophiahHo X-GitHub-Comment-Id: 2775977702 X-GitHub-Comment-Type: issue_comment X-GitHub-Edited-At: 2025-04-03T14:27:57Z X-GitHub-Issue: 3528 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3528#issuecomment-2775977702 Content-Type: text/plain; charset=utf-8 @davecramer [Fabricating an empty ResultSet would be pages and pages long](https://stackoverflow.com/questions/64632584/how-to-return-empty-resultset). Additionally, returning an empty ResultSet would be incorrect behaviour if the database is down, the database user credentials were revoked or changed, etc., which should throw an Exception.