Message-ID: From: "davecramer (@davecramer)" To: "pgjdbc/pgjdbc" Date: Fri, 17 Jan 2025 13:48:35 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #3482: When using java.sql.Timestamp for update, an exception thrown In-Reply-To: References: List-Id: X-GitHub-Author-Login: davecramer X-GitHub-Comment-Id: 2598407151 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3482 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/3482#issuecomment-2598407151 Content-Type: text/plain; charset=utf-8 Using psql this ``` merge into test as dst using (select 1 as id, '2025-01-17 08:39:48.951484-05' as ts, 5 as amount) src on dst.id=1 when matched then update set ts=src.ts, amount=src.amount when not matched then insert (id, ts, amount) values (src.id, src.ts, src.amount); ``` Gives the same error. I don't think the driver has enough information to use anything but text in the first query.