aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/regexp.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-09-05 16:43:37 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-09-05 16:43:37 -0400
commit28ab4a5aabeec1db7e9d6fd14c26cc92ccb670a2 (patch)
treecb7ebdfeb4b4a8a18e7099f1ea78f19434fa77a4 /src/backend/utils/adt/regexp.c
parentb98fd52a5516365e4a90d523cfed906eb7b3e67a (diff)
downloadpostgresql-28ab4a5aabeec1db7e9d6fd14c26cc92ccb670a2.tar.gz
postgresql-28ab4a5aabeec1db7e9d6fd14c26cc92ccb670a2.zip
Restore SIGFPE handler after initializing PL/Perl.
Perl, for some unaccountable reason, believes it's a good idea to reset SIGFPE handling to SIG_IGN. Which wouldn't be a good idea even if it worked; but on some platforms (Linux at least) it doesn't work at all, instead resulting in forced process termination if the signal occurs. Given the lack of other complaints, it seems safe to assume that Perl never actually provokes SIGFPE and so there is no value in the setting anyway. Hence, reset it to our normal handler after initializing Perl. Report, analysis and patch by Andres Freund.
Diffstat (limited to 'src/backend/utils/adt/regexp.c')
0 files changed, 0 insertions, 0 deletions