aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2019-02-11 10:31:36 +0100
committerPeter Eisentraut <peter@eisentraut.org>2019-02-11 10:33:53 +0100
commiteb69147e67ab90dbd9b3a25ebec9a36d7930de35 (patch)
tree34a3125db71eef5d96279c753258bed4733e731c /src/backend
parent638befaae1cedbb509695a8bc227f36d9dd8dbcb (diff)
downloadpostgresql-eb69147e67ab90dbd9b3a25ebec9a36d7930de35.tar.gz
postgresql-eb69147e67ab90dbd9b3a25ebec9a36d7930de35.zip
Adjust error message
We usually don't use "namespace" in user-facing error messages. Also, in master this was replaced by another error message referring to "temporary objects", so we might as well use that here to avoid introducing too many variants. Discussion: https://www.postgresql.org/message-id/bbd3f8d9-e3d5-e5aa-4305-7f0121c3fa94@2ndquadrant.com
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/access/transam/xact.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xact.c b/src/backend/access/transam/xact.c
index f02df7cf011..30e1539fcec 100644
--- a/src/backend/access/transam/xact.c
+++ b/src/backend/access/transam/xact.c
@@ -2306,7 +2306,7 @@ PrepareTransaction(void)
if ((MyXactFlags & XACT_FLAGS_ACCESSEDTEMPNAMESPACE))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("cannot PREPARE a transaction that has operated on temporary namespace")));
+ errmsg("cannot PREPARE a transaction that has operated on temporary objects")));
/*
* Likewise, don't allow PREPARE after pg_export_snapshot. This could be