fix(pgsql): (issue #255) select from support view name (#257)

Co-authored-by: zhaoge <>
This commit is contained in:
XCynthia
2024-02-05 16:24:14 +08:00
committed by GitHub
parent ecbbee32c7
commit 337885be8b
6 changed files with 16206 additions and 16039 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -574,6 +574,7 @@ import { Func_alias_clauseContext } from "./PostgreSQLParser";
import { Join_typeContext } from "./PostgreSQLParser";
import { Join_qualContext } from "./PostgreSQLParser";
import { Relation_exprContext } from "./PostgreSQLParser";
import { View_relation_exprContext } from "./PostgreSQLParser";
import { Publication_relation_exprContext } from "./PostgreSQLParser";
import { Relation_expr_listContext } from "./PostgreSQLParser";
import { Publication_relation_expr_listContext } from "./PostgreSQLParser";
@ -7196,6 +7197,17 @@ export interface PostgreSQLParserListener extends ParseTreeListener {
*/
exitRelation_expr?: (ctx: Relation_exprContext) => void;
/**
* Enter a parse tree produced by `PostgreSQLParser.view_relation_expr`.
* @param ctx the parse tree
*/
enterView_relation_expr?: (ctx: View_relation_exprContext) => void;
/**
* Exit a parse tree produced by `PostgreSQLParser.view_relation_expr`.
* @param ctx the parse tree
*/
exitView_relation_expr?: (ctx: View_relation_exprContext) => void;
/**
* Enter a parse tree produced by `PostgreSQLParser.publication_relation_expr`.
* @param ctx the parse tree

View File

@ -574,6 +574,7 @@ import { Func_alias_clauseContext } from "./PostgreSQLParser";
import { Join_typeContext } from "./PostgreSQLParser";
import { Join_qualContext } from "./PostgreSQLParser";
import { Relation_exprContext } from "./PostgreSQLParser";
import { View_relation_exprContext } from "./PostgreSQLParser";
import { Publication_relation_exprContext } from "./PostgreSQLParser";
import { Relation_expr_listContext } from "./PostgreSQLParser";
import { Publication_relation_expr_listContext } from "./PostgreSQLParser";
@ -4905,6 +4906,13 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
*/
visitRelation_expr?: (ctx: Relation_exprContext) => Result;
/**
* Visit a parse tree produced by `PostgreSQLParser.view_relation_expr`.
* @param ctx the parse tree
* @return the visitor result
*/
visitView_relation_expr?: (ctx: View_relation_exprContext) => Result;
/**
* Visit a parse tree produced by `PostgreSQLParser.publication_relation_expr`.
* @param ctx the parse tree