| От | Alvaro Herrera |
|---|---|
| Тема | Re: DTrace probe patch for OS X Leopard |
| Дата | |
| Msg-id | 20080229141048.GD4673@alvh.no-ip.org обсуждение |
| Ответ на | Re: DTrace probe patch for OS X Leopard (Robert Lor <Robert.Lor@Sun.COM>) |
| Ответы |
Re: DTrace probe patch for OS X Leopard
|
| Список | pgsql-patches |
Robert Lor wrote: > My concern is that when we start adding more probes (not just the > backend), we will have to add the following 5 lines in .c files that use > the Dtrace macros. This seems intrusive and messy to me instead of in a > centralized place like c.h. What are the disadvantages for keeping the > way it is now? > > #ifdef ENABLE_DTRACE > #include "utils/probes.h" > #else > #include "utils/probes_null.h" > #endif Why can't this block be centralized in probes.h? -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера