on_shmem_exit() callback function type.

From: Kurt Roeckx <Q(at)ping(dot)be>
To: pgsql-hackers(at)postgresql(dot)org
Subject: on_shmem_exit() callback function type.
Date: 2003-12-08 22:52:54
Message-ID: 20031208225254.GA2891@ping.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-12-08 23:00:16 Re: on_shmem_exit() callback function type.
Previous Message Andrew Dunstan 2003-12-08 21:03:46 Re: CVS HEAD compile failure