Skip site navigation (1) Skip section navigation (2)

Re: writing backend extensions using Visual Studio

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Greg Landrum" <greg(dot)landrum(at)gmail(dot)com>,<pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: writing backend extensions using Visual Studio
Date: 2005-03-29 07:36:31
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E472BDB2@ratbert.vale-housing.co.uk (view raw or flat)
Thread:
Lists: pgsql-hackers-win32
 

> -----Original Message-----
> From: Greg Landrum [mailto:greg(dot)landrum(at)gmail(dot)com] 
> Sent: 28 March 2005 23:31
> To: Dave Page; pgsql-hackers-win32(at)postgresql(dot)org
> Subject: Re: [pgsql-hackers-win32] writing backend extensions 
> using Visual Studio
> 
> On Mon, 28 Mar 2005 22:05:58 +0100, Dave Page 
> <dpage(at)vale-housing(dot)co(dot)uk> wrote:
> > 
> > >
> > > it seems that the development
> > > files distributed with the win32 installer aren't 
> sufficient to the
> > > task.
> > 
> > They should be - what did we miss?
> 
> Looking at a fresh installation, the libpostgres.a distributed with
> pginstaller seems to match the one I built, but the header files
> required for building backend apps are missing.  (These are the
> "internal to Postgres" headers, to use the terminology of
> postgres_ext.h)

We install the following:

$ ls c:/program\ files/postgresql/8.0/include
ecpg_informix.h  libpq-fe.h          pgtypes_date.h
pgtypes_timestamp.h
ecpgerrno.h      pg_config.h         pgtypes_error.h     postgres_ext.h
ecpglib.h        pg_config_manual.h  pgtypes_interval.h  sql3types.h
ecpgtype.h       pg_config_os.h      pgtypes_numeric.h   sqlca.h

Which is what is installed by PostgreSQL's build system. Do backend
extensions need to be built in the source tree?

Regards, Dave

Responses

pgsql-hackers-win32 by date

Next:From: Andrew DunstanDate: 2005-03-29 11:33:53
Subject: Re: writing backend extensions using Visual Studio
Previous:From: Greg LandrumDate: 2005-03-28 22:31:09
Subject: Re: writing backend extensions using Visual Studio

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group