Re: don't use MAKE_PTR/OFFSET for shmem pointers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: don't use MAKE_PTR/OFFSET for shmem pointers
Дата
Msg-id 16309.1225661239@sss.pgh.pa.us
обсуждение исходный текст
Ответ на don't use MAKE_PTR/OFFSET for shmem pointers  (Kris Jurka <books@ejurka.com>)
Ответы Re: don't use MAKE_PTR/OFFSET for shmem pointers
Список pgsql-hackers
Kris Jurka <books@ejurka.com> writes:
> Since we require every process to map the shared memory region to the same 
> address, we don't need the MAKE_PTR/OFFSET code that was needed when that
> was not the case.  This patch makes shared memory pointers just like 
> regular pointers.

Applied with minor editorialization --- mainly, I converted a couple of
"void *" pointer declarations to more specific types, since it seems to
me the main point of this is to not use nonspecific pointers
unnecessarily.
        regards, tom lane


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