This commit is contained in:
Lukas Eder 2021-01-30 15:41:44 +01:00
parent 6e48f713f7
commit 76bf3566c3
14 changed files with 91 additions and 3 deletions

View File

@ -74,5 +74,6 @@ package org.jooq;

View File

@ -85,6 +85,20 @@ package org.jooq;

View File

@ -75,5 +75,6 @@ package org.jooq;

View File

@ -76,5 +76,6 @@ import org.jetbrains.annotations.*;

View File

@ -114,5 +114,6 @@ import org.jetbrains.annotations.*;

View File

@ -94,5 +94,6 @@ import org.jetbrains.annotations.*;

View File

@ -68,5 +68,6 @@ import org.jetbrains.annotations.*;

View File

@ -136,5 +136,6 @@ package org.jooq.impl;

View File

@ -204,6 +204,41 @@ package org.jooq.impl;

View File

@ -236,6 +236,32 @@ package org.jooq.impl;

View File

@ -138,5 +138,6 @@ package org.jooq.impl;

View File

@ -80,6 +80,7 @@ final class Keywords {
static final Keyword K_BY = keyword("by");
static final Keyword K_CACHE = keyword("cache");
static final Keyword K_CALL = keyword("call");
static final Keyword K_CALLED = keyword("called");
static final Keyword K_CASCADE = keyword("cascade");
static final Keyword K_CASE = keyword("case");
static final Keyword K_CAST = keyword("cast");
@ -211,6 +212,7 @@ final class Keywords {
static final Keyword K_INLINE = keyword("inline");
static final Keyword K_INNER_JOIN = keyword("inner join");
static final Keyword K_INOUT = keyword("inout");
static final Keyword K_INPUT = keyword("input");
static final Keyword K_INSERT = keyword("insert");
static final Keyword K_INSTEAD = keyword("instead");
static final Keyword K_INT = keyword("int");

View File

@ -89,5 +89,6 @@ package org.jooq.impl;

View File

@ -2525,7 +2525,7 @@ final class ParserContext {
;
else if (parseKeywordIf("PACKAGE"))
throw notImplemented("CREATE PACKAGE", "https://github.com/jOOQ/jOOQ/issues/9190");
else if (parseKeywordIf("PROCEDURE") && requireProEdition())
else if (parseKeywordIf("PROC", "PROCEDURE") && requireProEdition())
@ -2539,7 +2539,7 @@ final class ParserContext {
case 'P':
if (parseKeywordIf("PACKAGE"))
throw notImplemented("CREATE PACKAGE", "https://github.com/jOOQ/jOOQ/issues/9190");
else if (parseKeywordIf("PROCEDURE") && requireProEdition())
else if (parseKeywordIf("PROC", "PROCEDURE") && requireProEdition())
@ -2744,7 +2744,7 @@ final class ParserContext {
case 'P':
if (parseKeywordIf("PACKAGE"))
throw notImplemented("DROP PACKAGE", "https://github.com/jOOQ/jOOQ/issues/9190");
else if (parseKeywordIf("PROCEDURE") && requireProEdition())
else if (parseKeywordIf("PROC", "PROCEDURE") && requireProEdition())
@ -5261,6 +5261,8 @@ final class ParserContext {