pgsql: Remove some unused variables in TAP tests

2021-09-05 Thread Michael Paquier
Remove some unused variables in TAP tests Author: Amul Sul Discussion: https://postgr.es/m/CAAJ_b96xuFh4JZE6p-zhLyDu7q=nbxjfb1z_yeau6t-mqab...@mail.gmail.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/5fcb23c18fe408bfc6669aa5bca2d21896f9fe90 Modified Files --

pgsql: Move the shared memory size calculation to its own function

2021-09-05 Thread Michael Paquier
Move the shared memory size calculation to its own function This change refactors the shared memory size calculation in CreateSharedMemoryAndSemaphores() to its own function. This is intended for use in a future change related to the setup of huge pages and shared memory with some GUCs, while use