]> granicus.if.org Git - postgresql/commitdiff
Fix declaration of GinVacuumState.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 22 Jan 2014 17:54:16 +0000 (19:54 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 22 Jan 2014 17:55:36 +0000 (19:55 +0200)
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

index 6bf65c32935472aa0934c49cb5c3cda6e68fd56b..115f2abc9e42dc811dcbe632ccf883217c91f18b 100644 (file)
@@ -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