summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas2017-04-07 19:38:46 +0000
committerRobert Haas2017-04-07 19:38:46 +0000
commit5c4488478b182983f290a61fc8cf2ec83548622b (patch)
tree3c4590c35292af74b5cbf1971558e52e83b5e7d2
parentd4116a771925379c33cf4c6634ca620ed08b551d (diff)
Use English, instead of internal names, for translatable messages.
Discussion: http://postgr.es/m/CA+Tgmobuz2C-YiQ87h8h0gECCV=F+SE=HBNaAU75rR5FEwtEhQ@mail.gmail.com
-rw-r--r--src/backend/utils/mmgr/dsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/mmgr/dsa.c b/src/backend/utils/mmgr/dsa.c
index d08317249b..1456e21381 100644
--- a/src/backend/utils/mmgr/dsa.c
+++ b/src/backend/utils/mmgr/dsa.c
@@ -515,7 +515,7 @@ dsa_attach(dsa_handle handle)
if (segment == NULL)
ereport(ERROR,
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
- errmsg("could not attach to dsa_handle")));
+ errmsg("could not attach to dynamic shared area")));
area = attach_internal(dsm_segment_address(segment), segment, handle);
@@ -1319,7 +1319,7 @@ attach_internal(void *place, dsm_segment *segment, dsa_handle handle)
/* We can't attach to a DSA area that has already been destroyed. */
ereport(ERROR,
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
- errmsg("could not attach to dsa_area")));
+ errmsg("could not attach to dynamic shared area")));
}
++control->refcnt;
LWLockRelease(DSA_AREA_LOCK(area));