Skip to content

Commit

Permalink
fix: 0004658 problem with postgressql varchar types (#166)
Browse files Browse the repository at this point in the history
* fix: resolve 0004658, postgressql datatype issue (platform col size left out if size INT_MAX)

* 0004658 undo accidental change
  • Loading branch information
rudiejd committed Aug 10, 2021
1 parent de478b5 commit 7dce268
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -166,6 +166,9 @@ else if (column.getSizeAsInt() == Integer.MAX_VALUE) {
column.setMappedTypeCode(Types.LONGVARCHAR);
column.setSize(null);
}
if (platformColumn != null) {
platformColumn.setSize(-1);
}
} else if (column.getMappedTypeCode() == Types.BINARY) {
column.setMappedTypeCode(Types.LONGVARBINARY);
column.setSize(null);
Expand Down

0 comments on commit 7dce268

Please sign in to comment.