1. First Level Catalogue Introduction
|_postgres
|_ACLOCAL.M4 part of the file used for------------config
|_config----------------Config file directory
|_configure-------------Configure file
|_contrib---------------Contribution Program
|_copyright----------Copyright Information
|_doc------------------Document Directory
|_gnumakefile.in-------Makefile Prototype
|_history-------------Revision History
|_readme-------------git description
|_readme.git----------git files
|_SRC-------------------Source Code Directory
2.SRC Catalogue Introduction
|_src
|_backend---------------Back-end Source directory
|_bcc32.mak-------------Win32 Makefile (for Borland C + +)
|_bin code for UNIX commands such as the---------------------Psql
|_common---------------Common functions
|_developers----------Developer-oriented comments
|_include-----------------Header File
|_interfaces--------------Front-end related code
|_makefile----------------Makefile
|_makefile.global.in-------The embryonic form of makefile.global used by configure
|_makefile.shlib-----------Makefile of shared libraries
|_NLS-GLOBAL.MK rules for the makefile file for-----------information directory
|_PL code for-----------------------stored procedure language
|_port--------------------Platform porting-related code
|_template----------------Platform-related setup templates
|_test---------------------various test scripts
|_timezone---------------time Zone-related code
|_tools-------------------tools and documentation developed by each
|_tutorial-----------------Tutorials
|_win32.bak--------------Win32 makefile (for Visual C + +)
1.backend Catalogue Introduction
|_backend
|_access-----------------Various storage access methods (under each subdirectory),
|_common (Common function)
|_gin (gerneralized Inverted Index Universal Reverse index)
|_gist (gerneralized Search Tree Universal Index)
|_hash (hash index)
|_heap (access method for heap)
|_bootstrap initialization of the-------------database (INITDB)
|_catalog----------------System Catalog
|_commands SQL commands other than the------------Select/insert/update/delete
|_common.mk-----------
|_executor--------------Actuator (Access execution)
|_foreign----------------FDW (Foreign Data Wrapper) processing
|_lib---------------------Common functions
|_LIBPQ------------------front-end <-> back-end communication processing
|_makefile---------------Makefile File
|_nls.mk----------------
|_nodes-----------------the related processing function of constructing tree nodes
|_optimizer--------------Optimizer
|_parser-----------------SQL Statement Parser
|_po---------------------
|_port-------------------Platform-related code
|_postmaster------------Postmaster main function (resident Postgres)
|_regex------------------Regular Processing
|_replication-------------Streaming Replacation
|_rewrite----------------rule and view-related override processing
|_snowball--------------Full-Text search related (semantic processing)
|_storage---------------shared memory, storage on disk, cache, etc. all at once, two records management
|_buffer--------------Cache Management
|_file-----------------File
|_freespace----------free Space map Management
|_IPC communication between-----------------processes
|_large_object--------Access functions for large objects
|_lmgr----------------Lock Management
|_page---------------page Access related functions
|_smgr---------------Storage Manager
|_tcop----------------The main part of the Postgres (process of the database engine)
|_tsearch----------------Full Text Search
|_utils-------------------various modules
|_adt-----------------Embedded data types
|_cache---------------Cache Management
|_error----------------Error Handling
|_fmgr----------------Function Management
|_misc-----------------Other
|_mmgr---------------Memory management functions
|_resowner------------The management of data in query processing (Buffer bin and table lock)
|_sort-----------------Sorting processing
MVCC Management of |_time-----------------affairs
Postgres Source directory Structure