Include files for SPI are not installed - Mailing list pgsql-hackers

From Oliver Elphick
Subject Include files for SPI are not installed
Date
Msg-id 200102061758.f16Hw7w32533@linda.lfix.co.uk
Whole thread Raw
Responses Re: Include files for SPI are not installed  (Karel Zak <zakkr@zf.jcu.cz>)
List pgsql-hackers
Certain include files are installed by src/include/Makefile and by
interfaces/libpq++/Makefile.  However, they in turn include others that
are not installed, thus obviating the usefulness of the ones that are.

The missing files are these:

access/heapam.h
access/htup.h
access/relscan.h
access/rmgr.h
access/sdir.h
access/skey.h
access/strat.h
access/transam.h
access/tupdesc.h
access/tupmacs.h
access/xact.h
access/xlogdefs.h
access/xlog.h
access/xlogutils.h
catalog/pg_am.h
catalog/pg_attribute.h
catalog/pg_class.h
catalog/pg_language.h
catalog/pg_proc.h
catalog/pg_type.h
executor/execdefs.h
executor/execdesc.h
executor/executor.h
executor/hashjoin.h
executor/tuptable.h
nodes/execnodes.h
nodes/memnodes.h
nodes/nodes.h
nodes/params.h
nodes/parsenodes.h
nodes/pg_list.h
nodes/plannodes.h
nodes/primnodes.h
nodes/relation.h
pgconnection.h
pgdatabase.h
pgtransdb.h
rewrite/prs2lock.h
storage/block.h
storage/buffile.h
storage/buf.h
storage/bufmgr.h
storage/bufpage.h
storage/fd.h
storage/ipc.h
storage/item.h
storage/itemid.h
storage/itemptr.h
storage/lmgr.h
storage/lock.h
storage/off.h
storage/page.h
storage/relfilenode.h
storage/shmem.h
storage/spin.h
tcop/dest.h
tcop/pquery.h
tcop/tcopprot.h
tcop/utility.h
utils/builtins.h
utils/datetime.h
utils/datum.h
utils/fcache.h
utils/hsearch.h
utils/memutils.h
utils/nabstime.h
utils/numeric.h
utils/portal.h
utils/rel.h
utils/syscache.h
utils/timestamp.h
utils/tqual.h


The list can be regenerated with the attached script.

Example: $ pg_includes /usr/local/pgsql/include


Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
========================================   "He hath not dealt with us after our sins; nor rewarded     us according to
ouriniquities. For as the heaven is      high above the earth, so great is his mercy toward      them that fear him. As
faras the east is from the      west, so far hath he removed our transgressions from      us."                  Psalms
103:10-12 

pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: Using Threads
Next
From: "Ross J. Reedstrom"
Date:
Subject: Re: OID from insert has extra letter