postgres.git / summary / log / commit / refs

commit    6668ad1d7004e9420107dda5bab1690193b13bc6
Author:   Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date:     Wed Jan 22 17:54:16 2014 +0000
First released in: 9.4.0

    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 [parent: 36a35c550ac1]