Cause: org.postgresql.util.PSQLException: ERROR: cached plan must not change result type
引起该报错的原因,都是应用端在修改了数据库字段,或者增减字段后,没有重启应用导致。场景重现:session1:hank=>createtabletest_tbl(idint,namevarchar(50));CREATETABLEhank=>insertintotest_tblvalues(1,'hank'),(2,'jecc'),(3,'jully');INSERT03hank=>prepare