Skip to content

Commit

Permalink
Merge pull request #2188 from nadment/2185
Browse files Browse the repository at this point in the history
PostgreSQL supports boolean and timestamp data type #2185
  • Loading branch information
hansva authored Jan 24, 2023
2 parents b49db41 + 51e7cf8 commit 844f362
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,8 @@ public void testSettings() throws Exception {
assertTrue(nativeMeta.isRequiresCastToVariousForIsNull());
assertFalse(nativeMeta.isSupportsGetBlob());
assertTrue(nativeMeta.isUseSafePoints());
assertTrue(nativeMeta.isSupportsBooleanDataType());
assertTrue(nativeMeta.isSupportsTimestampDataType());
}

@Test
Expand All @@ -730,7 +732,7 @@ public void testSqlStatements() {
"FOO", new ValueMetaTimestamp("BAR"), "", false, "", false));

assertEquals(
"ALTER TABLE FOO ADD COLUMN BAR CHAR(1)",
"ALTER TABLE FOO ADD COLUMN BAR BOOLEAN",
nativeMeta.getAddColumnStatement("FOO", new ValueMetaBoolean("BAR"), "", false, "", false));

assertEquals(
Expand Down

0 comments on commit 844f362

Please sign in to comment.