Skip to content

Commit 384e0db

Browse files
committed
Change file magic for wal encryption keyfile
This is to prevent this file from ever getting mixed up with a relation key file as these might no longer be of the same format.
1 parent 67d445d commit 384e0db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pg_tde/src/access/pg_tde_xlog_keys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "pg_tde_fe.h"
2222
#endif
2323

24-
#define PG_TDE_WAL_KEY_FILE_MAGIC 0x03454454 /* version ID value = TDE 03 */
24+
#define PG_TDE_WAL_KEY_FILE_MAGIC 0x014B4557 /* version ID value = WEK 01 */
2525

2626
#define MaxXLogRecPtr (~(XLogRecPtr)0)
2727

0 commit comments

Comments
 (0)