| От | Simon Riggs |
|---|---|
| Тема | Re: Feedback on writing extensible modules |
| Дата | |
| Msg-id | 1242850687.27960.197.camel@ebony.2ndQuadrant обсуждение исходный текст |
| Ответ на | Re: Feedback on writing extensible modules (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
On Wed, 2009-05-20 at 16:03 -0400, Tom Lane wrote: > Simon Riggs <simon@2ndQuadrant.com> writes: > > 2. shmem_startup_hook doesn't allow multiple modules to create shmem. > > All callers of the hook think they are the only caller, causing chaos if > > multiple people need this. > > The only known caller, contrib/pg_stat_statements/, does not think that. > Do what it does. Hmmm, it works, I guess. As long as everyone does that. Thanks for the workaround. > I agree it's undocumented, but so are the other hooks ... Some are well documented in the code, not all though. -- Simon Riggs www.2ndQuadrant.comPostgreSQL Training, Services and Support
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера