diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-12-19 14:51:13 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-12-19 14:53:27 -0300 |
commit | 68f6f2b7395fe3e403034bcd97a1fcfbcc68ae10 (patch) | |
tree | 5c7f605d1e6ab21f855fa4c5b3c35d1f8214b5af /src/backend/commands/extension.c | |
parent | c6e394c1a2ae641724d285ce0b043b753406dbbd (diff) | |
download | postgresql-68f6f2b7395fe3e403034bcd97a1fcfbcc68ae10.tar.gz postgresql-68f6f2b7395fe3e403034bcd97a1fcfbcc68ae10.zip |
Remove function names from error messages
They are not necessary, and having them there gives useless work for
translators.
Diffstat (limited to 'src/backend/commands/extension.c')
-rw-r--r-- | src/backend/commands/extension.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/extension.c b/src/backend/commands/extension.c index 87e4dd82453..31dcfe7b11b 100644 --- a/src/backend/commands/extension.c +++ b/src/backend/commands/extension.c @@ -2348,8 +2348,8 @@ pg_extension_config_dump(PG_FUNCTION_ARGS) if (!creating_extension) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("pg_extension_config_dump() can only be called " - "from an SQL script executed by CREATE EXTENSION"))); + errmsg("%s can only be called from an SQL script executed by CREATE EXTENSION", + "pg_extension_config_dump()"))); /* * Check that the table exists and is a member of the extension being |