Thread: PostmasterHandl_patch of win32

PostmasterHandl_patch of win32

From
"Hiroshi Saito"
Date:
Hi Bruce-san.

Uga..., include is removed and it is out of order.....

pmsignal.c: In function `PostmasterIsAlive':
pmsignal.c:121: error: `PostmasterHandle' undeclared (first use in this function)
pmsignal.c:121: error: (Each undeclared identifier is reported only once
pmsignal.c:121: error: for each function it appears in.)
make[4]: *** [pmsignal.o] Error 1
make[3]: *** [ipc-recursive] Error 2
make[2]: *** [storage-recursive] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

Probably, this application will be required.
P.S)
In addition, there are some problems. It is corrected soon.

Regards,
Hiroshi Saito

Attachment

Re: PostmasterHandl_patch of win32

From
Tom Lane
Date:
"Hiroshi Saito" <z-saito@guitar.ocn.ne.jp> writes:
> Probably, this application will be required.

This seems very messy.  The correct fix is just to put back the #include
line, no?

            regards, tom lane

Re: PostmasterHandl_patch of win32

From
"Hiroshi Saito"
Date:
From: "Tom Lane"

> "Hiroshi Saito" <z-saito@guitar.ocn.ne.jp> writes:
>> Probably, this application will be required.
>
> This seems very messy.  The correct fix is just to put back the #include
> line, no?

@@ -18,6 +18,7 @@
 #include <unistd.h>

 #include "miscadmin.h"
+#include "postmaster/postmaster.h"
 #include "storage/pmsignal.h"
 #include "storage/shmem.h"

Ahh.., include by which you were committed is very good.
Thanks.!

Regards,
Hiroshi Saito