Thread: Re: [HACKERS] Compile Failue on win32 - pipe.c using ereport

Re: [HACKERS] Compile Failue on win32 - pipe.c using ereport

From
"Merlin Moncure"
Date:
> > 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

Re: [HACKERS] Compile Failue on win32 - pipe.c using ereport

From
Tom Lane
Date:
"Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
> No, that's the only one.  pipe.c should not be used outside the backend.

Good enough --- I've applied the change.

            regards, tom lane