Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove handling of frontend from pg_tde_guc.{c,h} code #425

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contrib/pg_tde/src/catalog/tde_principal_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include "catalog/tde_principal_key.h"
#include "keyring/keyring_api.h"
#include "pg_tde.h"
#include "pg_tde_guc.h"

#ifndef FRONTEND
#include "access/genam.h"
Expand All @@ -38,6 +37,7 @@
#include "lib/dshash.h"
#include "storage/lwlock.h"
#include "storage/shmem.h"
#include "pg_tde_guc.h"
#else
#include "pg_tde_fe.h"
#endif
Expand Down
3 changes: 0 additions & 3 deletions contrib/pg_tde/src/include/pg_tde_guc.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@

#include "c.h"

#ifndef FRONTEND

extern bool AllowInheritGlobalProviders;
extern bool EncryptXLog;
extern bool EnforceEncryption;

extern void TdeGucInit(void);

#endif
#endif /* TDE_GUC_H */
4 changes: 0 additions & 4 deletions contrib/pg_tde/src/pg_tde_guc.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

#include "pg_tde_guc.h"

#ifndef FRONTEND

bool AllowInheritGlobalProviders = true;
bool EncryptXLog = false;
bool EnforceEncryption = false;
Expand Down Expand Up @@ -54,5 +52,3 @@ TdeGucInit(void)
);

}

#endif