Fix typo
authorPeter Eisentraut
Tue, 11 May 2021 07:06:49 +0000 (09:06 +0200)
committerPeter Eisentraut
Tue, 11 May 2021 07:06:49 +0000 (09:06 +0200)
src/backend/parser/parse_cte.c
src/test/regress/expected/with.out

index f46d63d45131a198d13de3fbd03f08fc78bac200..ee7613187aa636efa9b56db6dd47cd29278abffe 100644 (file)
@@ -524,7 +524,7 @@ analyzeCTE(ParseState *pstate, CommonTableExpr *cte)
                   cte->cycle_clause->cycle_path_column) == 0)
            ereport(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));
    }
 }
index 0affacc19154ff9dbd6107fe4b328eea46fa7716..584bdc6600b532b54d08238e39192a4052ba25bf 100644 (file)
@@ -1253,7 +1253,7 @@ with recursive search_graph(f, t, label) as (
 ) search depth first by f, t set foo
   cycle f, t set is_cycle to true default false using foo
 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
           ^
 -- test ruleutils and view expansion