aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-09-05 16:43:45 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-09-05 16:43:45 -0400
commit5ee0f03727eb7452ad8ecbca660d500ab78ac015 (patch)
treefaf4ca0f0d7c5eb51657f8e5f471c8330644b444 /src/tutorial/advanced.source
parenta69b7a1c34750f37c72acaac941555c70050dc7d (diff)
downloadpostgresql-5ee0f03727eb7452ad8ecbca660d500ab78ac015.tar.gz
postgresql-5ee0f03727eb7452ad8ecbca660d500ab78ac015.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/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions