postgres.git / summary / log / commit / refs

commit    484af9b376f3dca3805932d5c40c45ecf6fca0d4
Author:   Bruce Momjian <bruce@momjian.us>
Date:     Wed Oct 12 20:53:54 2011 +0000

    Modify RelationGetBufferForTuple() to use a typedef, rather than a
    struct, to help pgindent.


src/backend/access/heap/hio.c | 2 +- src/include/access/hio.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/access/heap/hio.c b/src/backend/access/heap/hio.c index 26db1e3d8d0..beecc9050fb 100644 --- a/src/backend/access/heap/hio.c +++ b/src/backend/access/heap/hio.c @@ -213,7 +213,7 @@ GetVisibilityMapPins(Relation relation, Buffer buffer1, Buffer buffer2, Buffer RelationGetBufferForTuple(Relation relation, Size len, Buffer otherBuffer, int options, - struct BulkInsertStateData * bistate, + BulkInsertState bistate, Buffer *vmbuffer, Buffer *vmbuffer_other) { bool use_fsm = !(options & HEAP_INSERT_SKIP_FSM); diff --git a/src/include/access/hio.h b/src/include/access/hio.h index 6eac97e46cd..aefd6791652 100644 --- a/src/include/access/hio.h +++ b/src/include/access/hio.h @@ -38,7 +38,7 @@ extern void RelationPutHeapTuple(Relation relation, Buffer buffer, HeapTuple tuple); extern Buffer RelationGetBufferForTuple(Relation relation, Size len, Buffer otherBuffer, int options, - struct BulkInsertStateData * bistate, + BulkInsertState bistate, Buffer *vmbuffer, Buffer *vmbuffer_other); #endif /* HIO_H */ [parent: 6e22ba03a9fe]