Skip to content

Commit 14a2bd2

Browse files
committed
Clean up a couple comments in pg_tde_tdemap.c
1 parent 1885236 commit 14a2bd2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

contrib/pg_tde/src/access/pg_tde_tdemap.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,7 @@ pg_tde_create_key_map_entry(const RelFileLocator *newrlocator, uint32 entry_type
163163
errhint("create one using pg_tde_set_key before using encrypted tables"));
164164
}
165165

166-
/*
167-
* Add the encrypted key to the key map data file structure.
168-
*/
166+
/* Add the encrypted key to the key map data file structure. */
169167
pg_tde_write_key_map_entry(newrlocator, &rel_key_data, principal_key, true);
170168
LWLockRelease(lock_pk);
171169

@@ -734,7 +732,8 @@ pg_tde_write_map_keydata_file(off_t file_size, char *file_data)
734732
finalize_key_rotation(db_map_path, path_new);
735733
}
736734

737-
/* It's called by seg_write inside crit section so no pallocs, hence
735+
/*
736+
* It's called by seg_write inside crit section so no pallocs, hence
738737
* needs keyfile_path
739738
*/
740739
void

0 commit comments

Comments
 (0)