1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-03 22:24:49 +03:00
This commit is contained in:
Peter Eisentraut 2021-05-11 09:06:49 +02:00
parent ff51679220
commit 6d177e2813
2 changed files with 2 additions and 2 deletions

View File

@ -524,7 +524,7 @@ analyzeCTE(ParseState *pstate, CommonTableExpr *cte)
cte->cycle_clause->cycle_path_column) == 0) cte->cycle_clause->cycle_path_column) == 0)
ereport(ERROR, ereport(ERROR,
errcode(ERRCODE_SYNTAX_ERROR), errcode(ERRCODE_SYNTAX_ERROR),
errmsg("search_sequence column name and cycle path column name are the same"), errmsg("search sequence column name and cycle path column name are the same"),
parser_errposition(pstate, cte->search_clause->location)); parser_errposition(pstate, cte->search_clause->location));
} }
} }

View File

@ -1253,7 +1253,7 @@ with recursive search_graph(f, t, label) as (
) search depth first by f, t set foo ) search depth first by f, t set foo
cycle f, t set is_cycle to true default false using foo cycle f, t set is_cycle to true default false using foo
select * from search_graph; select * from search_graph;
ERROR: search_sequence column name and cycle path column name are the same ERROR: search sequence column name and cycle path column name are the same
LINE 7: ) search depth first by f, t set foo LINE 7: ) search depth first by f, t set foo
^ ^
-- test ruleutils and view expansion -- test ruleutils and view expansion