Re: [GENERAL] Should Cygwin PostgreSQL contain all header files? - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: [GENERAL] Should Cygwin PostgreSQL contain all header files?
Date
Msg-id 20010608140848.C524@dothill.com
Whole thread Raw
In response to Re: [GENERAL] Should Cygwin PostgreSQL contain all header files?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-cygwin
Tom,

On Fri, Jun 08, 2001 at 12:40:47PM -0400, Tom Lane wrote:
> Jason Tishler <Jason.Tishler@dothill.com> writes:
> > The bottom line is should I be using
> >     make -C src/include install-all-headers
> > instead of
> >     make -C src/include install
> > or is PoPy's use of non-client-side headers incorrect?
>
> If PoPy is client-side code and not something that loads into the
> server, then I'd discourage it from using any headers that are not
> installed by default in 7.1.  Which headers are in question here,

The following are (some of) the headers in question:

    postgres.h
    catalog/pg_type.h
    utils/elog.h
    utils/palloc.h

> and what breaks if you don't include them?

I don't know.  I was just helping someone build Cygwin PoPy -- I am not
personally interested enough in PoPy to see what happens.  Since I am
both the Cygwin Python and PostgreSQL maintainer, it seemed like the
right thing to do.

Actually, I was much more interest in the larger issue -- which I
appreciate you answering below.

> As for your more general question, what you need to answer is whether
> you expect users of the Cygwin distribution to be doing server-side
> code development.  If they are, they'll want the full header tree.
> Otherwise it's just clutter.

So far, I believe that most users have been interested in just being
able to run the server and interface via JDBC, ODBC, psql, etc.  Until I
get more demand, I intend to only include the normal (i.e., client-side)
headers.

Thanks,
Jason

--
Jason Tishler
Director, Software Engineering       Phone: 732.264.8770 x235
Dot Hill Systems Corp.               Fax:   732.264.8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

pgsql-cygwin by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] Should Cygwin PostgreSQL contain all header files?
Next
From: Rishi Sharma
Date:
Subject: tourble migrating from linux/Apache/postgresql/perl to win2000/II S/postgresql/perl