mirror of https://github.com/postgres/postgres
Now that we have removed our shared memory tools the remaining contents of the header can be moved elsewhere.pull/238/head
parent
9aff56e75b
commit
589bcab281
@ -1,20 +0,0 @@ |
|||||||
/*-------------------------------------------------------------------------
|
|
||||||
* |
|
||||||
* pg_tde_shmem.c |
|
||||||
* Shared memory area to manage cache and locks. |
|
||||||
* |
|
||||||
* IDENTIFICATION |
|
||||||
* contrib/pg_tde/src/pg_tde_shmem.c |
|
||||||
* |
|
||||||
*------------------------------------------------------------------------- |
|
||||||
*/ |
|
||||||
|
|
||||||
#include "postgres.h" |
|
||||||
|
|
||||||
#include "common/pg_tde_shmem.h" |
|
||||||
|
|
||||||
int |
|
||||||
TdeRequiredLocksCount(void) |
|
||||||
{ |
|
||||||
return TDE_LWLOCK_COUNT; |
|
||||||
} |
|
@ -1,24 +0,0 @@ |
|||||||
/*-------------------------------------------------------------------------
|
|
||||||
* |
|
||||||
* pg_tde_shmem.h |
|
||||||
* src/include/common/pg_tde_shmem.h |
|
||||||
* |
|
||||||
*------------------------------------------------------------------------- |
|
||||||
*/ |
|
||||||
#ifndef PG_TDE_SHMEM_H |
|
||||||
#define PG_TDE_SHMEM_H |
|
||||||
|
|
||||||
#define TDE_TRANCHE_NAME "pg_tde_tranche" |
|
||||||
|
|
||||||
typedef enum |
|
||||||
{ |
|
||||||
TDE_LWLOCK_ENC_KEY, |
|
||||||
TDE_LWLOCK_PI_FILES, |
|
||||||
|
|
||||||
/* Must be the last entry in the enum */ |
|
||||||
TDE_LWLOCK_COUNT |
|
||||||
} TDELockTypes; |
|
||||||
|
|
||||||
extern int TdeRequiredLocksCount(void); |
|
||||||
|
|
||||||
#endif /* PG_TDE_SHMEM_H */ |
|
Loading…
Reference in new issue