mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
### Does this PR have any customer impact? No ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) Refactor ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) No ### Are you introducing any new config? If yes, do you have tests with and without them being set? ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) ### Description - Redo GUCs for helio -> documentdb preserving back-compat for the service. - Move Docdb version to 1.24 -> 0.24 ---- #### AI description (iteration 1) #### PR Classification API change #### PR Summary This pull request updates the prefix for all GUCs (Grand Unified Configuration) to a neutral prefix. - `documentdb_init.c`: Changed GUCs from "helio_api" to a dynamic prefix using `psprintf`. - `documentdb_distributed_init.c` and `documentdb_distributed.c`: Updated GUCs to use a dynamic prefix. - `pg_documentdb.c`, `pg_helio_api.c`, and `pgmongo.c`: Modified initialization functions to pass the new GUC prefix. - `helio_api_init.h` and `helio_distributed_init.h`: Updated function signatures to include the new GUC prefix parameter. - Updated control files to reflect the new version `0.24-0`.
19 lines
638 B
C
19 lines
638 B
C
/*-------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
*
|
|
* include/helio_api_init.h
|
|
*
|
|
* Exports related to shared library initialization for the API.
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef HELIO_API_INIT_H
|
|
#define HELIO_API_INIT_H
|
|
|
|
void InitApiConfigurations(char *prefix, char *newGucPrefix);
|
|
void InstallHelioApiPostgresHooks(void);
|
|
void UninstallHelioApiPostgresHooks(void);
|
|
void InitializeHelioBackgroundWorker(char *libraryName, char *gucPrefix);
|
|
void InitializeSharedMemoryHooks(void);
|
|
#endif
|