[jOOQ/jOOQ#9305] Support parsing Vertica's TEMP table syntax

This commit is contained in:
Lukas Eder 2019-09-30 11:16:54 +02:00
parent 8b267a321c
commit 94d4d86ffa

View File

@ -2134,12 +2134,16 @@ final class ParserImpl implements Parser {
if (parseKeywordIf(ctx, "TABLE"))
return parseCreateTable(ctx, false);
else if (parseKeywordIf(ctx, "TEMP TABLE"))
return parseCreateTable(ctx, true);
else if (parseKeywordIf(ctx, "TEMPORARY TABLE"))
return parseCreateTable(ctx, true);
else if (parseKeywordIf(ctx, "TYPE"))
return parseCreateType(ctx);
else if (parseKeywordIf(ctx, "GENERATOR"))
return parseCreateSequence(ctx);
else if (parseKeywordIf(ctx, "GLOBAL TEMP TABLE"))
return parseCreateTable(ctx, true);
else if (parseKeywordIf(ctx, "GLOBAL TEMPORARY TABLE"))
return parseCreateTable(ctx, true);
else if (parseKeywordIf(ctx, "INDEX"))