From 484af9b376f3dca3805932d5c40c45ecf6fca0d4 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 12 Oct 2011 16:53:54 -0400 Subject: [PATCH] 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 26db1e3d8d..beecc9050f 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 6eac97e46c..aefd679165 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 */