summaryrefslogtreecommitdiff
path: root/src/tools/pginclude
AgeCommit message (Collapse)Author
2012-12-18Don't include postgres.h in postgres_fe.h for cpluspluscheck.Andrew Dunstan
Error exposed by recent Assert changes. Complaint from Peter Eisentraut.
2012-08-16Add URL for include file visualization tool.Bruce Momjian
2012-08-16Add possible alternate tool for pgrminclude, from Peter GeogheganBruce Momjian
2012-05-15Remove whitespace from end of linesPeter Eisentraut
pgindent and perltidy should clean up the rest.
2012-04-24Lots of doc corrections.Robert Haas
Josh Kupershmidt
2011-12-01Make pgcompinclude/pgrminclude less tied to Bruce's personal machine.Robert Haas
Not everyone has /pg linked to the src subdirectory of their PostgreSQL tree. Also, cc isn't the way to invoke the compiler everywhere.
2011-09-25In pgrminclude, document requirement to use pgcompinclude, and sortBruce Momjian
files so include removal is more predictable.
2011-09-24Document pgrminclude limitations.Bruce Momjian
2011-09-24Expand pgrminclude to exclude use of macros CppAsString and CppConcat.Bruce Momjian
2011-09-07Have pgrminclude skip files that use CppAsString2 because CppAsString2Bruce Momjian
will expaned undefined identifiers.
2011-09-01Improve method of avoiding fcinfo compile errors.Bruce Momjian
Fix pgrminclude C comment marker.
2011-08-28Modify pgrminclude -v to report include files that can't be compiled onBruce Momjian
their own. Avoid compile problems with defines being redefined after the removal of the #if blocks. Change script to use shell functions for simplicity.
2011-08-27Allow more include files to be compiled in their own by adding missingBruce Momjian
include dependencies. Modify pgcompinclude to skip a common fcinfo error.
2011-08-27Add support for #elif to pgrminclude.Bruce Momjian
2011-08-27Add another pgdefine path check, and a cvs-git change.Bruce Momjian
2011-08-27Change references of CVS to .git.Bruce Momjian
2011-08-26Fix missing pgdefine detection in pgrminclude.Bruce Momjian
2011-08-26Modify pgrminclude to include all code, even in #if blocks. ProcessBruce Momjian
.h include files before .c files. Mark some includes as needed to be ignored by pgrminclude.
2011-08-26Cleanup of script.Bruce Momjian
2011-08-26do include files firstBruce Momjian
2011-08-26Fix #if blocks.Bruce Momjian
2011-08-26Fix pgrminclude regex pattern.Bruce Momjian
2011-08-26In pgrminclude, add code to skip includes with a marker comment.Bruce Momjian
2011-08-26In pgrminclude, make skipped include names constent and skip files withBruce Momjian
#if/#ifdefs.
2011-08-23Mark cpluspluscheck as excutable in git.Bruce Momjian
2010-12-27Remove -fno-operator-names switch from cpluspluscheck.Tom Lane
No longer needed now that bitand() and bitor() have been renamed.
2010-12-27Rearrange cpluspluscheck to check just one .h file at a time.Tom Lane
This is slower than the original coding but avoids the problem of including files in an unpredictable order. Aside from being more trustworthy, we can get rid of some exclusions that were formerly made for what turn out to be ordering or re-inclusion problems. I also modified it to include libpq's exported files in the check. ecpg should be included as well, but I'm unclear on which ecpg .h files are meant to be included by clients.
2010-12-27Tweak cpluspluscheck to avoid directly #include'ing gram.h.Tom Lane
gram.h has ordering dependencies, which are satisfied when it's included from gramparse.h, but might not be if it's pulled in directly.
2010-11-23Remove useless whitespace at end of linesPeter Eisentraut
2010-09-20Remove cvs keywords from all files.Magnus Hagander
2009-07-16Make backend header files C++ safePeter Eisentraut
This alters various incidental uses of C++ key words to use other similar identifiers, so that a C++ compiler won't choke outright. You still (probably) need extern "C" { }; around the inclusion of backend headers. based on a patch by Kurt Harriman <[email protected]> Also add a script cpluspluscheck to check for C++ compatibility in the future. As of right now, this passes without error for me.
2008-03-21More README src cleanups.Bruce Momjian
2006-07-19Add WIN32 compile suggestion to pginclude README.Bruce Momjian
2006-07-18Add pginclude testing ideas.Bruce Momjian
2006-07-17Mention dependency problems caused by pgrminclude on include files.Bruce Momjian
2006-07-15Create a tool to catch #include omissions that might not result in anyTom Lane
compiler warning, specifically #ifdef or #if defined tests on symbols that are defined in a file not included. The results are a bit noisy and require care to interpret, but it's a lot better than no tool at all.
2006-07-14Move CFLAGS for pginclude to the end of the command line.Bruce Momjian
2006-07-13Skip stripping postgres_fe.h include file.Bruce Momjian
2006-07-13Improve pginclude tools to process include file usage by other include files.Bruce Momjian
2006-07-12Fix pgrminclude to work for stripping include files.Bruce Momjian
2006-07-11Improve pginclude tests.Bruce Momjian
2006-07-11Improve pginclude compile flags.Bruce Momjian
2006-07-11Update pginclude documentation.Bruce Momjian
2006-07-11Have pgrminclude process include files too.Bruce Momjian
2006-07-11Add $CFLAGS support to pgrminclude.Bruce Momjian
2006-07-11Move pgrminclude debug code to be more effective.Bruce Momjian
2006-07-11Improve shell script wrapping.Bruce Momjian
2006-07-11Add comments to pgrminclude.Bruce Momjian
2006-07-11Allow each C include file to compile on its own by including any neededBruce Momjian
header files.
2006-07-11Add libpq include directory to script.Bruce Momjian