Re: [PATCH 2/5] Make relpathbackend return a statically result instead of palloc()'ing it
В списке pgsql-hackers по дате отправления:
| От | Heikki Linnakangas |
|---|---|
| Тема | Re: [PATCH 2/5] Make relpathbackend return a statically result instead of palloc()'ing it |
| Дата | |
| Msg-id | 50EC8957.6030702@vmware.com обсуждение исходный текст |
| Ответ на | Re: [PATCH 2/5] Make relpathbackend return a statically result instead of palloc()'ing it (Andres Freund <andres@2ndquadrant.com>) |
| Ответы |
Re: [PATCH 2/5] Make relpathbackend return a statically result
instead of palloc()'ing it
|
| Список | pgsql-hackers |
On 08.01.2013 23:00, Andres Freund wrote: >> Note that the xlogreader facility doesn't need any more emulation. I'm quite >> satisfied with that part of the patch now. However, the rmgr desc routines >> do, and I'm not very happy with those. Not sure what to do about it. As you >> said, we could add enough infrastructure to make them compile in frontend >> context, or we could try to make them rely less on backend functions. > > Which emulation needs are you missing in the desc routines besides > relpathbackend() and timestamptz_to_str()? pfree() is "just" needed > because its used to free the result of relpathbackend(). No own pallocs, > no ereport ... Nothing besides those, those are the stuff I was referring to. - Heikki
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера