postgresql/src/backend/access
Robert Haas 2113ac4cbb Don't use bgw_main even to specify in-core bgworker entrypoints.
On EXEC_BACKEND builds, this can fail if ASLR is in use.

Backpatch to 9.5.  On master, completely remove the bgw_main field
completely, since there is no situation in which it is safe for an
EXEC_BACKEND build.  On 9.6 and 9.5, leave the field intact to avoid
breaking things for third-party code that doesn't care about working
under EXEC_BACKEND.  Prior to 9.5, there are no in-core bgworker
entrypoints.

Petr Jelinek, reviewed by me.

Discussion: http://postgr.es/m/09d8ad33-4287-a09b-a77f-77f8761adb5e@2ndquadrant.com
2017-03-31 20:43:32 -04:00
..
brin Add optimizer and executor support for parallel index scans. 2017-02-15 13:53:24 -05:00
common Don't allocate storage for partitioned tables. 2017-03-31 16:28:51 -04:00
gin Remove direct uses of ItemPointer.{ip_blkid,ip_posid} 2017-03-28 19:02:23 -03:00
gist Put back <float.h> in a few files that need it for _isnan(). 2017-03-08 15:38:34 -05:00
hash Still more code review for single-page hash vacuuming. 2017-03-27 12:51:10 -04:00
heap Simplify check of modified attributes in heap_update 2017-03-29 14:01:14 -03:00
index Improve error reporting for tuple-routing failures. 2017-03-03 09:09:52 +05:30
nbtree Add optimizer and executor support for parallel index scans. 2017-02-15 13:53:24 -05:00
rmgrdesc Still more code review for single-page hash vacuuming. 2017-03-27 12:51:10 -04:00
spgist Use wrappers of PG_DETOAST_DATUM_PACKED() more. 2017-03-12 19:35:34 -04:00
tablesample Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
transam Don't use bgw_main even to specify in-core bgworker entrypoints. 2017-03-31 20:43:32 -04:00
Makefile TABLESAMPLE, SQL Standard and extensible 2015-05-15 14:37:10 -04:00