Move memory context callback declarations into palloc.h. Initial experience with this feature suggests that instances of MemoryContextCallback are likely to propagate into some widely-used headers over time. As things stood, that would result in pulling memutils.h or at least memnodes.h into common headers, which does not seem desirable. Instead, let's decide that this feature is part of the "ordinary palloc user" API rather than the "specialized context management" API, and as such should be declared in palloc.h not memutils.h. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/097fe194aa7c590b4fa43d5e40c083940859c286 Modified Files -------------- src/include/nodes/memnodes.h | 16 ---------------- src/include/utils/memutils.h | 2 -- src/include/utils/palloc.h | 20 ++++++++++++++++++++ 3 files changed, 20 insertions(+), 18 deletions(-)
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера