aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayutils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-10-24 21:51:00 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2013-10-24 21:51:30 -0400
commit5e1e47c7c00d01d1b2fd3a4354f48be427a30f67 (patch)
treea4a308bdba71db807cdcf792019ffe816677fb01 /src/backend/utils/adt/arrayutils.c
parent3147acd63e0135aff9a6c4b01d861251925d97d9 (diff)
downloadpostgresql-5e1e47c7c00d01d1b2fd3a4354f48be427a30f67.tar.gz
postgresql-5e1e47c7c00d01d1b2fd3a4354f48be427a30f67.zip
Ignore SIGSYS during initdb.
This prevents the recently-added probe for shm_open() from crashing on platforms that are impolite enough to deliver a signal rather than returning ENOSYS for an unimplemented kernel call. At least on the one known example (HPUX 10.20), ignoring SIGSYS does result in the desired behavior of getting an ENOSYS error return instead. Per discussion, we might later wish to do this in the backend as well, but for now it seems sufficient to do it in initdb.
Diffstat (limited to 'src/backend/utils/adt/arrayutils.c')
0 files changed, 0 insertions, 0 deletions