PowerDesigner 反向 PostgreSQL 时 Unable to list the columns. SQLSTATE =22003 的解决方法

PowerDesigner 16.5反向PostgreSQL9.01 Unable to list the columns. SQLSTATE =22003不良的类型值 short : t解决方法

DatabaseEdit Current DBMS… General tabPostgreSQL 9.xScriptObjectsColumnSqlListQuery

or ToolsResourceDBMSPostgreSQL9.x...同上。

replaced column in SELECT:

     c.attnotnull

to:

     CAST(NULLIF(c.attnotnull,false) as VARCHAR(1))

 

 

Similarly in

...Script\Objects\Key\SqlListQuery

replaced column in SELECT:

     x.indisprimary

to:

     CAST(NULLIF(x.indisprimary,false) as VARCHAR(1))

你可能感兴趣的:(powerdesigner)