Commit 5c448847 authored by Robert Haas's avatar Robert Haas

Use English, instead of internal names, for translatable messages.

Discussion: http://postgr.es/m/CA+Tgmobuz2C-YiQ87h8h0gECCV=F+SE=HBNaAU75rR5FEwtEhQ@mail.gmail.com
parent d4116a77
...@@ -515,7 +515,7 @@ dsa_attach(dsa_handle handle) ...@@ -515,7 +515,7 @@ dsa_attach(dsa_handle handle)
if (segment == NULL) if (segment == NULL)
ereport(ERROR, ereport(ERROR,
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE), (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); area = attach_internal(dsm_segment_address(segment), segment, handle);
...@@ -1319,7 +1319,7 @@ attach_internal(void *place, dsm_segment *segment, dsa_handle 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. */ /* We can't attach to a DSA area that has already been destroyed. */
ereport(ERROR, ereport(ERROR,
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE), (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
errmsg("could not attach to dsa_area"))); errmsg("could not attach to dynamic shared area")));
} }
++control->refcnt; ++control->refcnt;
LWLockRelease(DSA_AREA_LOCK(area)); LWLockRelease(DSA_AREA_LOCK(area));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment