postgresql/src/include
Bruce Momjian 0460f0502b I am attempting to integrate postgres (v 7.0) with an open source
project I am working on (Recall - a distributed, fault-tolerant,
replicated, storage framework @ http://www.fault-tolerant.org).
Recall is written in C++.  I need to include the postgres headers and
there are some problems when including the headers w/C++.

Attached is a patch generated from postgres/src that fixes my problems.
I was hoping to get this into the main source.  It's very small (2k) and
3 files are changed: backend/utils/fmgr/fmgr.c,
backend/utils/Gen_fmgrtab.sh.in, and include/access/tupdesc.h.

In C++, you get a multiply defined symbol because the variable
(FmgrInfo *fmgr_pl_finfo) is defined in the header (the patch moves it
to the .c file).  The other problem in tupdesc.h is the use of typeid
is a problem in c++ (I renamed it to oidtypeid).

Thanks,
Neal Norwitz
2000-05-22 02:34:23 +00:00
..
access I am attempting to integrate postgres (v 7.0) with an open source 2000-05-22 02:34:23 +00:00
bootstrap Add: 2000-01-26 05:58:53 +00:00
catalog Force initdb because of pg_group index fix. 2000-05-05 03:10:24 +00:00
commands Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
executor Correct oversight in hashjoin cost estimation: nodeHash sizes its hash 2000-04-18 05:43:02 +00:00
lib Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
libpq Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
mb Clean up const-vs-not-const compiler warning in MULTIBYTE code. 2000-04-20 22:40:18 +00:00
nodes Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
optimizer Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
parser Repair list-vs-node confusion that resulted in failure for INNER JOIN ON. 2000-05-12 01:33:56 +00:00
port Include information for armv4l from Mark Knox <segfault@hardline.org>. 2000-04-18 05:35:38 +00:00
regex Removed MBFLAGS from makefiles since it's now done in include/config.h. 2000-01-19 02:59:03 +00:00
rewrite Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
storage Revise FlushRelationBuffers/ReleaseRelationBuffers per discussion with 2000-05-19 03:22:31 +00:00
tcop Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
utils Add debug code to aid in memory-leak tracking: if SHOW_MEMORY_STATS is 2000-05-21 02:23:30 +00:00
c.h Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
config.h.in Add two checks ... one for setproctitle and one for -lutil ... 2000-05-12 13:58:25 +00:00
config.h.win32 Add missing files like foreign key regression tests and config.h.win32. 2000-02-24 16:02:28 +00:00
miscadmin.h Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
postgres.h Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
postgres_ext.h Turns out OIDNAMELEN wasn't really being used at all! 1999-06-04 21:12:07 +00:00
rusagestub.h Add: 2000-01-26 05:58:53 +00:00
strdup.h Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting. 1997-09-08 02:41:22 +00:00
version.h.in Update version for 7.0. 1999-11-01 02:33:32 +00:00