Re: Do we need a ShmList implementation?
От
Kevin Grittner
Тема
Re: Do we need a ShmList implementation?
Дата
Msg-id
4C9744AE02000025000359E3@gw.wicourts.gov
Ответ на
Re: Do we need a ShmList implementation? (Simon Riggs)
Список
Дерево обсуждения
Do we need a ShmList implementation? "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Do we need a ShmList implementation? Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Do we need a ShmList implementation? Simon Riggs <simon@2ndQuadrant.com>
Re: Do we need a ShmList implementation? "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Do we need a ShmList implementation? Tom Lane <tgl@sss.pgh.pa.us>
Re: Do we need a ShmList implementation? Simon Riggs <simon@2ndQuadrant.com>
Re: Do we need a ShmList implementation? "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Do we need a ShmList implementation? "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Do we need a ShmList implementation? Markus Wanner <markus@bluegap.ch>
Re: Do we need a ShmList implementation? "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Do we need a ShmList implementation? "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Do we need a ShmList implementation? Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Do we need a ShmList implementation? Markus Wanner <markus@bluegap.ch>
Re: Do we need a ShmList implementation? "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Do we need a ShmList implementation? Markus Wanner <markus@bluegap.ch>
Re: Do we need a ShmList implementation? "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Do we need a ShmList implementation? Markus Wanner <markus@bluegap.ch>
Simon Riggs wrote: > My understanding is that we used to have that and it was removed > for the reasons Heikki states. There are still vestigial bits > still in code. > > Not exactly impressed with the SHM_QUEUE stuff though, so I > appreciate the sentiment that Kevin expresses. So, if I just allocated a fixed memory space to provide an API similar to my previous post, does that sound reasonable to you? For the record, my intention would be to hide the SHM_QUEUE structures in this API -- an entry would be just the structure you're interested in working with. If practical, I would prefer for ShmList to be a pointer to an opaque structure; users of this shouldn't really be exposed to or depend upon the implementation. -Kevin
В списке pgsql-hackers по дате отправления