Re: Expand palloc/pg_malloc API

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Expand palloc/pg_malloc API
Дата
Msg-id b45f210e-bc31-c800-e825-67e26f4afc08@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Expand palloc/pg_malloc API  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Ответы Re: Expand palloc/pg_malloc API  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 12.08.22 09:31, Peter Eisentraut wrote:
> In talloc, the talloc() function itself allocates an object of a given 
> type.  To allocate something of a specified size, you'd use 
> talloc_size().  So those names won't map exactly.  I'm fine with 
> palloc_object() if that is clearer.

> I think the _ptrtype variant isn't that useful anyway, so if it's 
> confusing we can leave it out.

I have updated this patch set to rename the _obj() functions to 
_object(), and I have dropped the _ptrtype() variants.

I have also split the patch to put the new API and the example uses into 
separate patches.
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: CI and test improvements
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: effective_multixact_freeze_max_age issue