On Fri, Feb 4, 2011 at 1:16 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Fri, Feb 4, 2011 at 1:04 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I agree, that is not cool.
>
> OK, changed.
It looks like pipe.c is full of backend-specific error-reporting code.I could rewrite it to work in the frontend, but
sinceit's obviously
not used anywhere there it seems like an exercise in futility.
The viable options appear to be:
1. Use #ifndef FRONTEND to dike out the entire file.
2. Make a small change to the Makefile to only compile this into the
backend version of the library, and just skip it for the frontend
version.
3. Move it into src/backend/port.
My first thought is to go with #3.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company