[jOOQ/jOOQ#14248] Add parser support for CockroachDB STRING type

This commit is contained in:
Lukas Eder 2022-11-17 12:45:14 +01:00
parent d1e55bc5ee
commit d6b38000df
2 changed files with 4 additions and 0 deletions

View File

@ -12424,6 +12424,8 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
else if (parseKeywordOrIdentifierIf("SMALLSERIAL") ||
parseKeywordOrIdentifierIf("SERIAL2"))
return SMALLINT.identity(true);
else if (parseKeywordOrIdentifierIf("STRING"))
return parseDataTypeCollation(parseDataTypeLength(VARCHAR));
break;

View File

@ -2456,6 +2456,8 @@ package org.jooq.impl;