postgresql/src/include
Bruce Momjian 01b2168c90 Add pgmagic header block to store compile-time constants:
It now only checks four things:

Major version number (7.4 or 8.1 for example)
NAMEDATALEN
FUNC_MAX_ARGS
INDEX_MAX_KEYS

The three constants were chosen because:

1. We document them in the config page in the docs
2. We mark them as changable in pg_config_manual.h
3. Changing any of these will break some of the more popular modules:

FUNC_MAX_ARGS changes fmgr interface, every module uses this NAMEDATALEN
changes syscache interface, every PL as well as tsearch uses this
INDEX_MAX_KEYS breaks tsearch and anything using GiST.

Martijn van Oosterhout
2006-05-30 14:09:32 +00:00
..
access Som improve page split in multicolumn GiST index. 2006-05-29 12:50:06 +00:00
bootstrap Make all our flex and bison files use %option prefix or %name-prefix 2006-03-07 01:03:12 +00:00
catalog Remove traces of otherwise unused RELKIND_SPECIAL symbol. Leave the psql bits 2006-05-28 02:27:08 +00:00
commands Back out RESET CONNECTION until there is more discussion. 2006-04-25 14:11:59 +00:00
executor Make EXPLAIN sampling smarter, to avoid excessive sampling delay. 2006-05-30 14:01:58 +00:00
lib Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
libpq Rename macro parameter, for clarity. 2006-05-17 01:44:24 +00:00
mb Change the backend to reject strings containing invalidly-encoded multibyte 2006-05-21 20:05:21 +00:00
nodes Improve the representation of FOR UPDATE/FOR SHARE so that we can 2006-04-30 18:30:40 +00:00
optimizer Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
parser Re-introduce the yylex filter function formerly used to support UNION 2006-05-27 17:38:46 +00:00
port Add CVS tag lines to files that were lacking them. 2006-03-11 04:38:42 +00:00
postmaster Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
regex Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
rewrite Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
storage Fix Solaris/ASM test for x86. 2006-05-19 13:10:11 +00:00
tcop Improve parser so that we can show an error cursor position for errors 2006-03-14 22:48:25 +00:00
utils Tweak writetup_heap/readtup_heap to avoid storing the tuple identity 2006-05-23 21:37:59 +00:00
c.h Fix up pg_dump to do string escaping fully correctly for client encoding 2006-05-28 21:13:54 +00:00
fmgr.h Modify all callers of datatype input and receive functions so that if these 2006-04-04 19:35:37 +00:00
funcapi.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
getaddrinfo.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
getopt_long.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
Makefile Allow installation into directories containing spaces in the name. 2005-12-09 21:19:36 +00:00
miscadmin.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
pg_config.h.in Avoid duplicate definition of LOCALEDIR in pg_config.h, already defined 2006-05-23 19:28:45 +00:00
pg_config.h.win32 Add "inline" compile fix for MSVC/BCC: 2006-05-30 12:43:28 +00:00
pg_config_manual.h Define a separately configurable XLOG_BLCKSZ symbol for the page size 2006-04-03 23:35:05 +00:00
pgmagic.h Add pgmagic header block to store compile-time constants: 2006-05-30 14:09:32 +00:00
pgstat.h Patch reverted because of random buildfarm failures: 2006-05-30 02:35:39 +00:00
pgtime.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
port.h Fixes for BCC 5.5 compile of libpq. Backpatch to 8.1.X. 2006-04-24 04:03:25 +00:00
postgres.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
postgres_ext.h Pgindent run for 8.0. 2004-08-29 05:07:03 +00:00
postgres_fe.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
rusagestub.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
strdup.h Fix an obsolete file path mentioned in a comment. 2004-01-25 22:19:42 +00:00