Skip to content

[postgresql] Fix for #4308, #4315 -- ambiguity and plpgsql grammar. #5228

[postgresql] Fix for #4308, #4315 -- ambiguity and plpgsql grammar.

[postgresql] Fix for #4308, #4315 -- ambiguity and plpgsql grammar. #5228

Triggered via pull request November 9, 2024 14:21
Status Success
Total duration 5m 20s
Artifacts

main.yml

on: pull_request
Matrix: static-check
Matrix: build-pwsh
Fit to window
Zoom out
Zoom in

Annotations

26 warnings
static-check (ubuntu-latest, format): sql/postgresql#L1
one or more grammars do not conform to the Antlr grammar coding standard format for this repo. Reformat using antlr-format.
static-check (ubuntu-latest, useless-parens): sql/postgresql#L1
grammar contains useless parentheses. Check log for more details.
static-check (ubuntu-latest, ambiguity): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1688
warning(146): PostgreSQLLexer.g4:1688:0: non-fragment lexer rule AfterEscapeStringConstantMode_NotContinued can match the empty string
static-check (ubuntu-latest, ambiguity): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1704
warning(146): PostgreSQLLexer.g4:1704:0: non-fragment lexer rule AfterEscapeStringConstantWithNewlineMode_NotContinued can match the empty string
static-check (ubuntu-latest, ambiguity): sql/postgresql/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
static-check (ubuntu-latest, ambiguity): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1688
warning(146): PostgreSQLLexer.g4:1688:0: non-fragment lexer rule AfterEscapeStringConstantMode_NotContinued can match the empty string
static-check (ubuntu-latest, ambiguity): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1704
warning(146): PostgreSQLLexer.g4:1704:0: non-fragment lexer rule AfterEscapeStringConstantWithNewlineMode_NotContinued can match the empty string
static-check (ubuntu-latest, ambiguity): sql/postgresql/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
build-pwsh (ubuntu-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1688
warning(146): PostgreSQLLexer.g4:1688:0: non-fragment lexer rule AfterEscapeStringConstantMode_NotContinued can match the empty string
build-pwsh (ubuntu-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1704
warning(146): PostgreSQLLexer.g4:1704:0: non-fragment lexer rule AfterEscapeStringConstantWithNewlineMode_NotContinued can match the empty string
build-pwsh (ubuntu-latest, CSharp): sql/postgresql/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
build-pwsh (ubuntu-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1688
warning(146): PostgreSQLLexer.g4:1688:0: non-fragment lexer rule AfterEscapeStringConstantMode_NotContinued can match the empty string
build-pwsh (ubuntu-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1704
warning(146): PostgreSQLLexer.g4:1704:0: non-fragment lexer rule AfterEscapeStringConstantWithNewlineMode_NotContinued can match the empty string
build-pwsh (ubuntu-latest, CSharp): sql/postgresql/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
build-pwsh (macos-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1688
warning(146): PostgreSQLLexer.g4:1688:0: non-fragment lexer rule AfterEscapeStringConstantMode_NotContinued can match the empty string
build-pwsh (macos-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1704
warning(146): PostgreSQLLexer.g4:1704:0: non-fragment lexer rule AfterEscapeStringConstantWithNewlineMode_NotContinued can match the empty string
build-pwsh (macos-latest, CSharp): sql/postgresql/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
build-pwsh (macos-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1688
warning(146): PostgreSQLLexer.g4:1688:0: non-fragment lexer rule AfterEscapeStringConstantMode_NotContinued can match the empty string
build-pwsh (macos-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1704
warning(146): PostgreSQLLexer.g4:1704:0: non-fragment lexer rule AfterEscapeStringConstantWithNewlineMode_NotContinued can match the empty string
build-pwsh (macos-latest, CSharp): sql/postgresql/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
build-pwsh (windows-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1688
warning(146): PostgreSQLLexer.g4:1688:0: non-fragment lexer rule AfterEscapeStringConstantMode_NotContinued can match the empty string
build-pwsh (windows-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1704
warning(146): PostgreSQLLexer.g4:1704:0: non-fragment lexer rule AfterEscapeStringConstantWithNewlineMode_NotContinued can match the empty string
build-pwsh (windows-latest, CSharp): sql/postgresql/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
build-pwsh (windows-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1688
warning(146): PostgreSQLLexer.g4:1688:0: non-fragment lexer rule AfterEscapeStringConstantMode_NotContinued can match the empty string
build-pwsh (windows-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1704
warning(146): PostgreSQLLexer.g4:1704:0: non-fragment lexer rule AfterEscapeStringConstantWithNewlineMode_NotContinued can match the empty string
build-pwsh (windows-latest, CSharp): sql/postgresql/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used