rename table function parser
@@ -118,7 +118,7 @@ pub fn table_reference(i: Input) -> IResult<TableReference> {
#joined_tables
| #parenthesized_joined_tables
| #subquery
- | #set_returning_function
+ | #table_function
| #aliased_table
)(i)
}
@@ -153,7 +153,7 @@ pub fn table_alias(i: Input) -> IResult<TableAlias> {
)(i)
}
-pub fn set_returning_function(i: Input) -> IResult<TableReference> {
+pub fn table_function(i: Input) -> IResult<TableReference> {
map(
rule! {
#ident ~ "(" ~ #comma_separated_list0(expr) ~ ")" ~ #table_alias?
@@ -207,7 +207,7 @@ pub fn joined_tables(i: Input) -> IResult<TableReference> {
rule!(
#parenthesized_joined_tables
| #subquery
- | #set_returning_function
+ | #table_function
| #aliased_table
)(i)
};
