]> granicus.if.org Git - postgresql/commit
Further effort at preventing memory map dump from affecting the results.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 30 Apr 2018 20:19:51 +0000 (16:19 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 30 Apr 2018 20:19:51 +0000 (16:19 -0400)
commitce07aff48f15a2fa4f91bc67efe1cb3cc9c14bcf
treee4460703430b5462a6ee6b83ba5bb33f2a78fcf5
parentb04ebca6cd845c0a51da71efa3e2c57d32e823cd
Further effort at preventing memory map dump from affecting the results.

Rather than elog'ing immediately, push the map data into a preallocated
StringInfo.  Perhaps this will prevent some of the mid-operation
allocations that are evidently happening now.

Discussion: https://postgr.es/m/25495.1524517820@sss.pgh.pa.us
src/backend/port/win32_shmem.c