postgresql/src/backend/postmaster
Tom Lane 32470825d3 Avoid passing function pointers across process boundaries.
We'd already recognized that we can't pass function pointers across process
boundaries for functions in loadable modules, since a shared library could
get loaded at different addresses in different processes.  But actually the
practice doesn't work for functions in the core backend either, if we're
using EXEC_BACKEND.  This is the cause of recent failures on buildfarm
member culicidae.  Switch to passing a string function name in all cases.

Something like this needs to be back-patched into 9.6, but let's see
if the buildfarm likes it first.

Petr Jelinek, with a bunch of basically-cosmetic adjustments by me

Discussion: https://postgr.es/m/548f9c1d-eafa-e3fa-9da8-f0cc2f654e60@2ndquadrant.com
2017-04-14 23:50:16 -04:00
..
autovacuum.c BRIN auto-summarization 2017-04-01 14:00:53 -03:00
bgworker.c Avoid passing function pointers across process boundaries. 2017-04-14 23:50:16 -04:00
bgwriter.c Fix typos in comments. 2017-02-06 11:33:58 +02:00
checkpointer.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
fork_process.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
Makefile
pgarch.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pgstat.c Report statistics in logical replication workers 2017-04-14 14:37:06 -04:00
postmaster.c Add pg_current_logfile() function. 2017-03-03 11:43:11 +05:30
startup.c Show more processes in pg_stat_activity. 2017-03-26 22:02:22 -04:00
syslogger.c Add pg_current_logfile() function. 2017-03-03 11:43:11 +05:30
walwriter.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00