Message-ID: From: "findepi (@findepi)" To: "pgjdbc/pgjdbc" Date: Fri, 25 Sep 2020 08:20:30 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #1390: LocalDateTime has invalid string serialization In-Reply-To: References: List-Id: X-GitHub-Author-Login: findepi X-GitHub-Comment-Id: 698794690 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 1390 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/1390#issuecomment-698794690 Content-Type: text/plain; charset=utf-8 @alexbishop1 FWIW you can **workaround** this by instantiating `PGobject` and doing the serialization yourself (which requires nothing more than calling `toString()`) see https://github.com/prestosql/presto/blob/be2b97a8480f657f311e673fa38867c8faf4e2df/presto-postgresql/src/main/java/io/prestosql/plugin/postgresql/TypeUtils.java#L231-L238