MCPcopy Create free account
hub / github.com/apache/cloudberry / process_shared_preload_libraries

Function process_shared_preload_libraries

src/backend/utils/init/miscinit.c:1888–1904  ·  view source on GitHub ↗

* process any libraries that should be preloaded at postmaster start */

Source from the content-addressed store, hash-verified

1886 * process any libraries that should be preloaded at postmaster start
1887 */
1888void
1889process_shared_preload_libraries(void)
1890{
1891 process_shared_preload_libraries_in_progress = true;
1892
1893 char *libraries = expand_shared_preload_libraries_string();
1894 load_libraries(libraries,
1895 "shared_preload_libraries",
1896 false);
1897 if (libraries != NULL)
1898 {
1899 pfree(libraries);
1900 }
1901
1902 process_shared_preload_libraries_in_progress = false;
1903 process_shared_preload_libraries_done = true;
1904}
1905
1906/*
1907 * process any libraries that should be preloaded at backend start

Callers 3

PostgresMainFunction · 0.85
PostmasterMainFunction · 0.85
SubPostmasterMainFunction · 0.85

Calls 3

load_librariesFunction · 0.85
pfreeFunction · 0.50

Tested by

no test coverage detected