Re: Idea: closing the loop for "pg_ctl reload"
| От | Jan de Visser |
|---|---|
| Тема | Re: Idea: closing the loop for "pg_ctl reload" |
| Дата | |
| Msg-id | 4252038.EnPg9rQzUG@bison обсуждение исходный текст |
| Ответ на | Re: Idea: closing the loop for "pg_ctl reload" (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Idea: closing the loop for "pg_ctl reload"
Re: Idea: closing the loop for "pg_ctl reload" |
| Список | pgsql-hackers |
On March 2, 2015 09:50:49 AM Tom Lane wrote: > However, you could and should use pg_malloc0, which takes care of that > for you... I am (using pg_malloc, that is). So, just to be sure: pg_malloc memsets the block to 0, right? My question was more along the lines if memsetting to 0 to ensure that pointer fields are NULL and int/long fields are 0. I know they are on Linux, but don't know if that applies to other platforms as well, or if I need to set fields explicitly to those 'zero'/'uninitialized' values. jan
В списке pgsql-hackers по дате отправления: