From 6668ad1d7004e9420107dda5bab1690193b13bc6 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Wed, 22 Jan 2014 19:54:16 +0200 Subject: [PATCH] Fix declaration of GinVacuumState. gcc 4.8 was happy with having a duplicate typedef, but most compilers seem not to be, per buildfarm. --- src/backend/access/gin/ginvacuum.c | 4 ++-- 1 file 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 -- 2.39.5