From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Kurt Roeckx <Q(at)ping(dot)be> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: on_shmem_exit() callback function type. |
Date: | 2003-12-08 23:00:16 |
Message-ID: | 200312082300.hB8N0Gd02912@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Kurt Roeckx wrote:
> 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?
If you wish to clean up that area, feel free. It could use it.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Jim C. Nasby | 2003-12-09 00:49:31 | Re: Release cycle length |
Previous Message | Kurt Roeckx | 2003-12-08 22:52:54 | on_shmem_exit() callback function type. |