Re: Better shared data structure management and resizable shared data structures - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Better shared data structure management and resizable shared data structures
Date
Msg-id f1d04668-be37-472c-8b18-753b76726de5@iki.fi
Whole thread Raw
In response to Re: Better shared data structure management and resizable shared data structures  (Matthias van de Meent <boekewurm+postgres@gmail.com>)
Responses Re: Better shared data structure management and resizable shared data structures
List pgsql-hackers
Here's patch version 12 [*]. I believe I've addressed all the feedback, 
and I feel this is in pretty good shape now. There hasn't been any big 
design changes lately.

One notable change is that I replaced the separate 
{request|init|attach}_fn_arg fields in ShmemCallbacks with a single 
'opaque_arg' field, and added a brief comment to it. You both commented 
on whether we need that at all, and maybe you're right that we don't, 
but at least it's now just one field rather than three. As before, 
callers can simply ignore it if they don't need it.

[*] also available at 
https://github.com/hlinnaka/postgres/tree/shmem-init-refactor-12

- Heikki

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pg_get__*_ddl consolidation
Next
From: Tom Lane
Date:
Subject: Re: CREATE SCHEMA ... CREATE DOMAIN support