on_shmem_exit() callback function type.

Поиск
Список
Период
Сортировка
От Kurt Roeckx
Тема on_shmem_exit() callback function type.
Дата
Msg-id 20031208225254.GA2891@ping.be
обсуждение исходный текст
Ответы Re: on_shmem_exit() callback function type.  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
It seems that on_shmem_exit() first argument is a function that
needs to be called back.  The function itself doesn't have a
prototype, but it's called with and int and Datum as argument
when it's used.

It seems that almost none of the functions it calls will actually
need any argument, I could only found 3 that actually use it.

Those most weird one was DummyProcKill, which itself doesn't take
any arguments, but it asked to be called with proctype as
argument.


Should I convert them all to take the 2 arguments instead, or
just leave it as is?


Kurt



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: CVS HEAD compile failure
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: on_shmem_exit() callback function type.