Lists: | pgsql-patches |
---|
From: | "Ulrich Neumann" <U_Neumann(at)gne(dot)de> |
---|---|
To: | <pgsql-patches(at)postgresql(dot)org> |
Subject: | Patch for NetWare support |
Date: | 2002-08-06 18:45:37 |
Message-ID: | sd50358d.044@mail.gne.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-patches |
Hello,
attached is a patch for main.c.
The files netware.h and netware.c are for src/backend/port/dynloader
Can anybody create the directory netware at src/backend/port?
The changes in main.c are very small and i've documented them in the
sourcecode.
Thank you.
Ulrich
----------------------------------
This e-mail is virus scanned
Diese e-mail ist virusgeprueft
Attachment | Content-Type | Size |
---|---|---|
diffmain.patch | application/octet-stream | 1.4 KB |
netware.h | application/octet-stream | 970 bytes |
netware.c | application/octet-stream | 75 bytes |
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Ulrich Neumann <U_Neumann(at)gne(dot)de> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: Patch for NetWare support |
Date: | 2002-08-08 22:47:21 |
Message-ID: | 200208082247.g78MlLZ05151@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-patches |
I wish we didn't have to add this part of the patch to main.c:
+ /*
+ * If the first argument is "-post", then invoke postmaster mode. Note
+ * we remove "-post" from the arguments passed on to BootstrapMain.
+ * This is added for one reasons: NetWare doesn't have symbolic links
+ * right. ((
+ */
+ if (argc > 1 && strcmp(new_argv[1], "-post") == 0)
+ exit(PostmasterMain(argc - 1, new_argv + 1));
Do we have to document this, but only for Netware? Yuck.
---------------------------------------------------------------------------
Ulrich Neumann wrote:
> Hello,
>
> attached is a patch for main.c.
>
> The files netware.h and netware.c are for src/backend/port/dynloader
>
> Can anybody create the directory netware at src/backend/port?
>
>
> The changes in main.c are very small and i've documented them in the
> sourcecode.
>
>
> Thank you.
>
> Ulrich
>
> ----------------------------------
> This e-mail is virus scanned
> Diese e-mail ist virusgeprueft
[ Attachment, skipping... ]
[ Attachment, skipping... ]
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026