Re: dynloader.h missing in prebuilt package for Windows?

From: "Olson, Ken" <Ken(dot)Olson(at)pega(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, "chap(at)anastigmatix(dot)net" <chap(at)anastigmatix(dot)net>
Subject: Re: dynloader.h missing in prebuilt package for Windows?
Date: 2015-12-06 19:16:24
Message-ID: 1f8b678f41fb405fbaf4cad38daf2e9e@EXCAMB01.rpega.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I have downloaded a fresh copy of the Win x64 installer (postgresql-9.4.5-2-windows-x64.exe) from http://www.enterprisedb.com/products-services-training/pgdownload. The output of pg_config and assodicated directory listing of include/server:

BINDIR = C:/PROGRA~1/POSTGR~1/9.4/bin
DOCDIR = C:/PROGRA~1/POSTGR~1/9.4/doc
HTMLDIR = C:/PROGRA~1/POSTGR~1/9.4/doc
INCLUDEDIR = C:/PROGRA~1/POSTGR~1/9.4/include
PKGINCLUDEDIR = C:/PROGRA~1/POSTGR~1/9.4/include
INCLUDEDIR-SERVER = C:/PROGRA~1/POSTGR~1/9.4/include/server
LIBDIR = C:/PROGRA~1/POSTGR~1/9.4/lib
PKGLIBDIR = C:/PROGRA~1/POSTGR~1/9.4/lib
LOCALEDIR = C:/PROGRA~1/POSTGR~1/9.4/share/locale
MANDIR = C:/Program Files/PostgreSQL/9.4/man
SHAREDIR = C:/PROGRA~1/POSTGR~1/9.4/share
SYSCONFDIR = C:/Program Files/PostgreSQL/9.4/etc
PGXS = C:/Program Files/PostgreSQL/9.4/lib/pgxs/src/makefiles/pgxs.mk
CONFIGURE = --enable-thread-safety --enable-integer-datetimes --enable-nls --with-ldap --with-ossp-uuid --with-libxml --with-libxslt --with-tcl --with-perl --with-python
VERSION = PostgreSQL 9.4.5
Volume in drive C has no label.
Volume Serial Number is 78D5-D08D

Directory of C:\PROGRA~1\POSTGR~1\9.4\include\server

12/06/2015 01:58 PM <DIR> .
12/06/2015 01:58 PM <DIR> ..
12/06/2015 01:58 PM <DIR> access
12/06/2015 01:58 PM <DIR> bootstrap
12/06/2015 01:59 PM <DIR> catalog
12/06/2015 01:58 PM <DIR> commands
12/06/2015 01:58 PM <DIR> common
12/06/2015 01:58 PM <DIR> datatype
12/06/2015 01:58 PM <DIR> executor
12/06/2015 01:58 PM <DIR> foreign
12/06/2015 01:58 PM <DIR> lib
12/06/2015 01:58 PM <DIR> libpq
12/06/2015 01:58 PM <DIR> mb
12/06/2015 01:58 PM <DIR> nodes
12/06/2015 01:58 PM <DIR> optimizer
12/06/2015 01:58 PM <DIR> parser
12/06/2015 01:58 PM <DIR> port
12/06/2015 01:58 PM <DIR> portability
12/06/2015 01:58 PM <DIR> postmaster
12/06/2015 01:58 PM <DIR> regex
12/06/2015 01:58 PM <DIR> replication
12/06/2015 01:58 PM <DIR> rewrite
12/06/2015 01:58 PM <DIR> snowball
12/06/2015 01:58 PM <DIR> storage
12/06/2015 01:58 PM <DIR> tcop
12/06/2015 01:58 PM <DIR> tsearch
12/06/2015 01:58 PM <DIR> utils
11/19/2015 12:19 AM 30,882 c.h
11/19/2015 12:19 AM 30,626 fmgr.h
11/19/2015 12:19 AM 10,711 funcapi.h
11/19/2015 12:19 AM 3,986 getaddrinfo.h
11/19/2015 12:19 AM 660 getopt_long.h
11/19/2015 12:19 AM 15,482 miscadmin.h
11/19/2015 12:45 AM 21,702 pg_config.h
11/19/2015 12:45 AM 253 pg_config_ext.h
11/19/2015 12:19 AM 10,875 pg_config_manual.h
11/19/2015 12:45 AM 13,392 pg_config_os.h
11/19/2015 12:19 AM 1,084 pg_getopt.h
11/19/2015 12:19 AM 316 pg_trace.h
11/19/2015 12:19 AM 27,166 pgstat.h
11/19/2015 12:19 AM 606 pgtar.h
11/19/2015 12:19 AM 2,309 pgtime.h
11/19/2015 12:19 AM 27,489 plpgsql.h
11/19/2015 12:19 AM 14,096 port.h
11/19/2015 12:19 AM 21,398 postgres.h
11/19/2015 12:19 AM 2,109 postgres_ext.h
11/19/2015 12:19 AM 763 postgres_fe.h
11/19/2015 12:19 AM 843 rusagestub.h
11/19/2015 12:19 AM 2,379 windowapi.h
22 File(s) 239,127 bytes
27 Dir(s) 26,142,257,152 bytes free

Ken

-----Original Message-----
From: Chapman Flack [mailto:chap(at)anastigmatix(dot)net]
Sent: Saturday, December 05, 2015 4:07 PM
To: Olson, Ken
Subject: Re: [HACKERS] dynloader.h missing in prebuilt package for Windows?

Ken,

Do you have a moment to respond to Bruce's questions here, about what files
*are* put into $INCLUDEDIR_SERVER by the Windows PG installer you've used, and just what installer that is (supplied by EDB, right?)?

Thanks,
-Chap

On 12/05/15 15:35, Bruce Momjian wrote:
> So, for me, the big question is why dynloader.h isn't getting copied
> into /include/server. (There is a mention the 'Makefile' about vpath
> builds needing to copy dynloader.h manually --- is vpath being used
> for the Windows installers somehow?)
>
> Can you show me what files you have in /include/server, without your
> copying the dynloader.h file manually? Where did you get that Windows
> installer?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2015-12-06 21:45:46 Unicode collations in FreeBSD 11, DragonFly BSD 4.4 without ICU
Previous Message Andrew Dunstan 2015-12-06 17:58:21 Re: a word-choice question