mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Remove error message hints mentioning configure options
These are usually not useful since users will use packaged distributions and won't be interested in rebuilding their installation from source. Also, we have only used these kinds of hints for some features and in some places, not consistently throughout. Reviewed-by: Andres Freund <andres@anarazel.de> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://www.postgresql.org/message-id/flat/2552aed7-d0e9-280a-54aa-2dc7073f371d%40enterprisedb.com
This commit is contained in:
@ -1462,8 +1462,7 @@ make_icu_collator(const char *iculocstr,
|
||||
/* could get here if a collation was created by a build with ICU */
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
errmsg("ICU is not supported in this build"), \
|
||||
errhint("You need to rebuild PostgreSQL using %s.", "--with-icu")));
|
||||
errmsg("ICU is not supported in this build")));
|
||||
#endif /* not USE_ICU */
|
||||
}
|
||||
|
||||
@ -2008,8 +2007,7 @@ check_icu_locale(const char *icu_locale)
|
||||
#else
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
errmsg("ICU is not supported in this build"), \
|
||||
errhint("You need to rebuild PostgreSQL using %s.", "--with-icu")));
|
||||
errmsg("ICU is not supported in this build")));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user