From 1d12fe4d26bdc027a46391d2e80ab6d83d286692 Mon Sep 17 00:00:00 2001 From: Andreas Karlsson Date: Mon, 11 Aug 2025 11:53:53 +0200 Subject: [PATCH] Remove two pointless debug log statemenets Just logging that the function was called at DEBUG2 is not very helpful to anyone and is presumably jsut a leftover from someone's attempt at debugging a particular issue they had at some point. --- contrib/pg_tde/src/access/pg_tde_tdemap.c | 2 -- contrib/pg_tde/src/access/pg_tde_xlog_keys.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/contrib/pg_tde/src/access/pg_tde_tdemap.c b/contrib/pg_tde/src/access/pg_tde_tdemap.c index 99f51ca48af..237714f4990 100644 --- a/contrib/pg_tde/src/access/pg_tde_tdemap.c +++ b/contrib/pg_tde/src/access/pg_tde_tdemap.c @@ -182,8 +182,6 @@ pg_tde_save_principal_key(const TDEPrincipalKey *principal_key, bool write_xlog) pg_tde_set_db_file_path(principal_key->keyInfo.databaseId, db_map_path); - ereport(DEBUG2, errmsg("pg_tde_save_principal_key")); - pg_tde_sign_principal_key_info(&signed_key_Info, principal_key); if (write_xlog) diff --git a/contrib/pg_tde/src/access/pg_tde_xlog_keys.c b/contrib/pg_tde/src/access/pg_tde_xlog_keys.c index 2af45c0f363..28476c820f9 100644 --- a/contrib/pg_tde/src/access/pg_tde_xlog_keys.c +++ b/contrib/pg_tde/src/access/pg_tde_xlog_keys.c @@ -735,8 +735,6 @@ pg_tde_save_server_key(const TDEPrincipalKey *principal_key, bool write_xlog) off_t curr_pos = 0; TDESignedPrincipalKeyInfo signed_key_Info; - ereport(DEBUG2, errmsg("pg_tde_save_server_key")); - pg_tde_sign_principal_key_info(&signed_key_Info, principal_key); if (write_xlog)