aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-08-25 20:10:55 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-08-25 20:10:55 +0000
commitacac35adca6e039e2288c5253079b128c1742b5e (patch)
tree3bf07da20826d10bd254ce86b499c013aadd6f4b /src/backend/access/gist/gistxlog.c
parent0d812f1966a56de905b43bc1902fb7c5b570f9b3 (diff)
downloadpostgresql-acac35adca6e039e2288c5253079b128c1742b5e.tar.gz
postgresql-acac35adca6e039e2288c5253079b128c1742b5e.zip
Improve hint message for ENOMEM failure from shmget().
It turns out that some platforms return ENOMEM for a request that violates SHMALL, whereas we were assuming that ENOSPC would always be used for that. Apparently the latter is a Linuxism while ENOMEM is the BSD tradition. Extend the ENOMEM hint to suggest that raising SHMALL might be needed. Per gripe from A.M. Backpatch to 9.0, but not further, because this doesn't seem important enough to warrant creating extra translation work in the stable branches. (If it were, we'd have figured this out years ago.)
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions