Re: Rename ShmemVariableCache and initialize it in more standard way

2023-12-07 Thread Heikki Linnakangas
On 05/12/2023 05:40, Richard Guo wrote: On Tue, Dec 5, 2023 at 12:31 AM Tristan Partin wrote: On Mon Dec 4, 2023 at 6:49 AM CST, Heikki Linnakangas wrote: > Here's a patch to allocate and initialize it with a pair of ShmemSize > and ShmemInit functions, like all other shared

Re: Rename ShmemVariableCache and initialize it in more standard way

2023-12-04 Thread Richard Guo
On Tue, Dec 5, 2023 at 12:31 AM Tristan Partin wrote: > On Mon Dec 4, 2023 at 6:49 AM CST, Heikki Linnakangas wrote: > > This came up in the "Refactoring backend fork+exec code" thread recently > > [0], but is independent of that work: > > > > Here's a patch to allocate and initialize it with a

Re: Rename ShmemVariableCache and initialize it in more standard way

2023-12-04 Thread Tristan Partin
On Mon Dec 4, 2023 at 6:49 AM CST, Heikki Linnakangas wrote: This came up in the "Refactoring backend fork+exec code" thread recently [0], but is independent of that work: On 11/07/2023 01:50, Andres Freund wrote: >> --- a/src/backend/storage/ipc/shmem.c >> +++

Rename ShmemVariableCache and initialize it in more standard way

2023-12-04 Thread Heikki Linnakangas
This came up in the "Refactoring backend fork+exec code" thread recently [0], but is independent of that work: On 11/07/2023 01:50, Andres Freund wrote: --- a/src/backend/storage/ipc/shmem.c +++ b/src/backend/storage/ipc/shmem.c @@ -144,6 +144,8 @@ InitShmemAllocation(void) /*