Postgres Source directory Structure

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.