Skip to content

Commit

Permalink
PG-1126: Check that Percona API version is the same
Browse files Browse the repository at this point in the history
  • Loading branch information
dutow committed Nov 11, 2024
1 parent 2f31c0e commit 43c4dd7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pg_tde.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/

#include "postgres.h"
#include "utils/percona.h"
#include "funcapi.h"
#include "pg_tde.h"
#include "transam/pg_tde_xact_handler.h"
Expand Down Expand Up @@ -102,6 +103,8 @@ _PG_init(void)
elog(WARNING, "pg_tde can only be loaded at server startup. Restart required.");
}

check_percona_api_version();

InitializePrincipalKeyInfo();
InitializeKeyProviderInfo();
#ifdef PERCONA_EXT
Expand Down

0 comments on commit 43c4dd7

Please sign in to comment.