]> granicus.if.org Git - postgresql/commit
Get rid of the need for manual maintenance of the initial contents of
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 5 Jan 2010 01:06:57 +0000 (01:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 5 Jan 2010 01:06:57 +0000 (01:06 +0000)
commit64737e93132b036006ca16e793c634e5939d42db
tree3736a437c24809767c4c875493f4849865df1efe
parentfc09fb7bcf0ec3320331744c9523b71349d55fb6
Get rid of the need for manual maintenance of the initial contents of
pg_attribute, by having genbki.pl derive the information from the various
catalog header files.  This greatly simplifies modification of the
"bootstrapped" catalogs.

This patch finally kills genbki.sh and Gen_fmgrtab.sh; we now rely entirely on
Perl scripts for those build steps.  To avoid creating a Perl build dependency
where there was not one before, the output files generated by these scripts
are now treated as distprep targets, ie, they will be built and shipped in
tarballs.  But you will need a reasonably modern Perl (probably at least
5.6) if you want to build from a CVS pull.

The changes to the MSVC build process are untested, and may well break ---
we'll soon find out from the buildfarm.

John Naylor, based on ideas from Robert Haas and others
66 files changed:
doc/src/sgml/bki.sgml
doc/src/sgml/installation.sgml
src/backend/Makefile
src/backend/catalog/.cvsignore [new file with mode: 0644]
src/backend/catalog/Catalog.pm [new file with mode: 0644]
src/backend/catalog/Makefile
src/backend/catalog/README
src/backend/catalog/genbki.pl [new file with mode: 0644]
src/backend/catalog/genbki.sh [deleted file]
src/backend/utils/Gen_fmgrtab.pl
src/backend/utils/Gen_fmgrtab.sh [deleted file]
src/backend/utils/Makefile
src/backend/utils/cache/relcache.c
src/include/Makefile
src/include/catalog/genbki.h
src/include/catalog/indexing.h
src/include/catalog/pg_aggregate.h
src/include/catalog/pg_am.h
src/include/catalog/pg_amop.h
src/include/catalog/pg_amproc.h
src/include/catalog/pg_attrdef.h
src/include/catalog/pg_attribute.h
src/include/catalog/pg_auth_members.h
src/include/catalog/pg_authid.h
src/include/catalog/pg_cast.h
src/include/catalog/pg_class.h
src/include/catalog/pg_constraint.h
src/include/catalog/pg_conversion.h
src/include/catalog/pg_database.h
src/include/catalog/pg_db_role_setting.h
src/include/catalog/pg_default_acl.h
src/include/catalog/pg_depend.h
src/include/catalog/pg_description.h
src/include/catalog/pg_enum.h
src/include/catalog/pg_foreign_data_wrapper.h
src/include/catalog/pg_foreign_server.h
src/include/catalog/pg_index.h
src/include/catalog/pg_inherits.h
src/include/catalog/pg_language.h
src/include/catalog/pg_largeobject.h
src/include/catalog/pg_largeobject_metadata.h
src/include/catalog/pg_listener.h
src/include/catalog/pg_namespace.h
src/include/catalog/pg_opclass.h
src/include/catalog/pg_operator.h
src/include/catalog/pg_opfamily.h
src/include/catalog/pg_pltemplate.h
src/include/catalog/pg_proc.h
src/include/catalog/pg_rewrite.h
src/include/catalog/pg_shdepend.h
src/include/catalog/pg_shdescription.h
src/include/catalog/pg_statistic.h
src/include/catalog/pg_tablespace.h
src/include/catalog/pg_trigger.h
src/include/catalog/pg_ts_config.h
src/include/catalog/pg_ts_config_map.h
src/include/catalog/pg_ts_dict.h
src/include/catalog/pg_ts_parser.h
src/include/catalog/pg_ts_template.h
src/include/catalog/pg_type.h
src/include/catalog/pg_user_mapping.h
src/include/catalog/toasting.h
src/interfaces/ecpg/ecpglib/pg_type.h
src/tools/msvc/Genbki.pm [deleted file]
src/tools/msvc/Solution.pm
src/tools/msvc/clean.bat