summaryrefslogtreecommitdiff
path: root/src/backend/access/common/toast_compression.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2022-04-08 07:41:09 +0200
committerPeter Eisentraut <peter@eisentraut.org>2022-04-08 07:41:55 +0200
commit708007dced2b05ed9b4f1963e91b2eb67413bd19 (patch)
treec09dc26fbbd73408cc8a231e6667216bf0165c32 /src/backend/access/common/toast_compression.c
parentb3abca68106d518ce5d3c0d9a1e0ec02a647ceda (diff)
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
Diffstat (limited to 'src/backend/access/common/toast_compression.c')
-rw-r--r--src/backend/access/common/toast_compression.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/access/common/toast_compression.c b/src/backend/access/common/toast_compression.c
index 8a81ff4c0c0..f90f9f11e34 100644
--- a/src/backend/access/common/toast_compression.c
+++ b/src/backend/access/common/toast_compression.c
@@ -30,8 +30,7 @@ int default_toast_compression = TOAST_PGLZ_COMPRESSION;
ereport(ERROR, \
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED), \
errmsg("compression method lz4 not supported"), \
- errdetail("This functionality requires the server to be built with lz4 support."), \
- errhint("You need to rebuild PostgreSQL using %s.", "--with-lz4")))
+ errdetail("This functionality requires the server to be built with lz4 support.")))
/*
* Compress a varlena using PGLZ.