postgresql中如果主键中包含timestampe with time zone列时,seata at事务出错

mfpqipee  于 22天前  发布在  PostgreSQL
关注(0)|答案(1)|浏览(25)
  • I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description

我们现在的根据时间timestamp with time zone进行了分区,postgresql要求主键要包含分区键,主键中出现了timestampe with time zone类型后,seata报错,以过增加以下代码解决了问题

Ⅱ. Describe what happened

If there is an exception, please attach the exception trace:

Just paste your stack trace here!

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

  1. xxx
  2. xxx
  3. xxx

Minimal yet complete reproducer code (or URL to code):

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • JDK version(e.g. java -version ):
  • Seata client/server version: 1.6.1
  • Database version: postgresql14.2
  • OS(e.g. uname -a ):
  • Others:
zazmityj

zazmityj1#

@langhan look forward submit a pr to fix it.

相关问题