Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit12e037e

Browse files
committed
Upgrade internal error message to external
As part of REINDEX CONCURRENTLY, this formerly internal-only errormessage becomes potentially user-visible (see regression tests), sochange from errmsg_internal() to errmsg(), and update comment.
1 parent9a81c9f commit12e037e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/catalog/index.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -773,13 +773,13 @@ index_create(Relation heapRelation,
773773
errmsg("concurrent index creation on system catalog tables is not supported")));
774774

775775
/*
776-
* This case is currently not supported, but there's no way to ask for it
777-
*inthe grammaranyway, so it can't happen.
776+
* This case is currently not supported. There's no way to ask for it in
777+
* the grammarwith CREATE INDEX, but it can happen with REINDEX.
778778
*/
779779
if (concurrent&&is_exclusion)
780780
ereport(ERROR,
781781
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
782-
errmsg_internal("concurrent index creation for exclusion constraints is not supported")));
782+
errmsg("concurrent index creation for exclusion constraints is not supported")));
783783

784784
/*
785785
* We cannot allow indexing a shared relation after initdb (because

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp