aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-05-11 09:06:49 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-05-11 09:06:49 +0200
commit6d177e2813a2b4415539e2861b595583cc1a8f71 (patch)
treeda5cb6b17a07a382d3b693a82f107f6e1a42208b
parentff51679220ce31091bfdbc96d2e90fc02ac6f329 (diff)
downloadpostgresql-6d177e2813a2b4415539e2861b595583cc1a8f71.tar.gz
postgresql-6d177e2813a2b4415539e2861b595583cc1a8f71.zip
Fix typo
-rw-r--r--src/backend/parser/parse_cte.c2
-rw-r--r--src/test/regress/expected/with.out2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/parser/parse_cte.c b/src/backend/parser/parse_cte.c
index f46d63d4513..ee7613187aa 100644
--- a/src/backend/parser/parse_cte.c
+++ b/src/backend/parser/parse_cte.c
@@ -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));
}
}
diff --git a/src/test/regress/expected/with.out b/src/test/regress/expected/with.out
index 0affacc1915..584bdc6600b 100644
--- a/src/test/regress/expected/with.out
+++ b/src/test/regress/expected/with.out
@@ -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