summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2011-10-12 20:53:54 +0000
committerBruce Momjian2011-10-12 20:53:54 +0000
commit484af9b376f3dca3805932d5c40c45ecf6fca0d4 (patch)
tree8f9fef13cb9b548cb1e34d687b4a6e38787bb888
parent6e22ba03a9fe6853e812268ef404e45aac4866ab (diff)
Modify RelationGetBufferForTuple() to use a typedef, rather than a
struct, to help pgindent.
-rw-r--r--src/backend/access/heap/hio.c2
-rw-r--r--src/include/access/hio.h2
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 */