What this PR does / why we need it:

  1. repair jdbc's RefCursorTest module's testcase failed
    Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes
    #I3X59N:org.postgresql.test.jdbc2.RefCursorTest函数参数的注册类型,与实际输出类型不一致

Special notes for your reviewer:

  1. these testcase fail because Types.REF_CURSOR not compatibility with Types.OTHER in PgCallableStatement, so I add default compatibility convert (add that case but do nothing).
  2. add a new compatibility type is very ugly, I must add a elseif case and do something same as before. so I add PgCallstatementTypeCompatibility class to deal with it. To add a new compatibility type, just call addConvert in static block and esay to use!
    Release note:

RefCursorTest passed:
RefCursorTest通过

related PgCallableStatement'testcase Jdbc3CallableStatementTest module result,notice:testInOut and testByte01 failed because another reason, is not my code restructure fault!
输入图片说明