Re: [HACKERS] Compile Failue on win32 - pipe.c using ereport - Mailing list pgsql-hackers-win32

From Merlin Moncure
Subject Re: [HACKERS] Compile Failue on win32 - pipe.c using ereport
Date
Msg-id 6EE64EF3AB31D5448D0007DD34EEB34101AE9E@Herge.rcsinc.local
Whole thread Raw
Responses Re: [HACKERS] Compile Failue on win32 - pipe.c using ereport  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers-win32
> > Try replacing "c.h" with "postgres.h".  I fixed that on the win32
> > binaries and forgot to mention it.
>
> There was a recently submitted patch to change postgres.h to c.h in a
> bunch of src/port modules, which I applied without looking closely.
> Apparently it was a tad overenthusiastic.
>
> The big question here is whether pipe.c is interesting for use in
> frontend programs.  If so, it can't use ereport/elog at all, and we'll
> need to change the code.  If not, we can just revert the inclusion
> mistake.
>
> Are there failures in any other src/port modules now?

No, that's the only one.  pipe.c should not be used outside the backend.

Merlin

pgsql-hackers-win32 by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: Starting PostgreSQL as an NT Service
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Compile Failue on win32 - pipe.c using ereport