summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeikki Linnakangas2014-01-22 17:54:16 +0000
committerHeikki Linnakangas2014-01-22 17:55:36 +0000
commit6668ad1d7004e9420107dda5bab1690193b13bc6 (patch)
tree34836cde1533dd6b6a2533828be08041cd1fa044 /src
parent36a35c550ac114caa423bcbe339d3515db0cd957 (diff)
Fix declaration of GinVacuumState.
gcc 4.8 was happy with having a duplicate typedef, but most compilers seem not to be, per buildfarm.
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/gin/ginvacuum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/gin/ginvacuum.c b/src/backend/access/gin/ginvacuum.c
index 6bf65c32935..115f2abc9e4 100644
--- a/src/backend/access/gin/ginvacuum.c
+++ b/src/backend/access/gin/ginvacuum.c
@@ -22,7 +22,7 @@
#include "storage/lmgr.h"
#include "utils/memutils.h"
-typedef struct GinVacuumState
+struct GinVacuumState
{
Relation index;
IndexBulkDeleteResult *result;
@@ -31,7 +31,7 @@ typedef struct GinVacuumState
GinState ginstate;
BufferAccessStrategy strategy;
MemoryContext tmpCxt;
-} GinVacuumState;
+};
/*
* Vacuums an uncompressed posting list. The size of the must can be specified