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

Autoheader plan

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Autoheader plan
Date: 2003-03-25 21:27:13
Message-ID: Pine.LNX.4.44.0303252224200.1651-100000@peter.localdomain (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
I want to make be automatically generated by autoheader
so we don't have to edit it by hand, but there is a lot of stuff in that isn't directly generated by configure, so it needs
to be moved elsewhere.

Here's what I want to do:

Move DEF_NBUFFERS and DEF_MAXBACKENDS to the header files where
NBuffers and MaxBackends are declared.  Remove --with-maxbackends
configure option.  There's no need for users to edit these at compile

All of the remaining code from "part 2" of the existing
will be moved to a separate file (maybe pg_config_manual.h?) and will
be unaffected by autoheader and configure.

Everything in part 1 and 3 can be automatically generated.

Move inclusion of pg_config_os.h to c.h.  That means c.h will contain
the following code near the top:

#include pg_config.h
#include pg_config_manual.h
#include pg_config_os.h

(Perhaps the first one should be renamed to pg_config_auto.h for

All code in part 5 will be moved to c.h section 8, which contains
similar code already anyway.

Peter Eisentraut   peter_e(at)gmx(dot)net


pgsql-hackers by date

Next:From: Bruce MomjianDate: 2003-03-25 22:49:06
Subject: Re: updateable cursors & visibility
Previous:From: Peter EisentrautDate: 2003-03-25 19:27:13
Subject: Re: updateable cursors & visibility

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