Message-ID: From: "davecramer (@davecramer)" To: "pgjdbc/pgjdbc" Date: Wed, 31 Dec 2025 12:08:52 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #3902: createBlob() not closing LargeObject. In-Reply-To: References: List-Id: X-GitHub-Author-Login: davecramer X-GitHub-Comment-Id: 3702086975 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3902 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/3902#issuecomment-3702086975 Content-Type: text/plain; charset=utf-8 OutputStreams are closable so in the try with resources it will be closed https://github.com/pgjdbc/pgjdbc/blob/e3ea9a3bfce6330aea67b3ff555cd7c32a755134/pgjdbc/src/main/java/org/postgresql/jdbc/PgPreparedStatement.java#L1259-L1278