]> granicus.if.org Git - postgresql/commitdiff
Modify RelationGetBufferForTuple() to use a typedef, rather than a
authorBruce Momjian <bruce@momjian.us>
Wed, 12 Oct 2011 20:53:54 +0000 (16:53 -0400)
committerBruce Momjian <bruce@momjian.us>
Wed, 12 Oct 2011 20:53:54 +0000 (16:53 -0400)
struct, to help pgindent.

src/backend/access/heap/hio.c
src/include/access/hio.h

index 26db1e3d8d0012d619e16383a16030fe5f77829d..beecc9050fb2d30cb4c1b8db05401d484f8fb024 100644 (file)
@@ -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);
index 6eac97e46cdf0b3722b4b9c9b74677ac309fd4ad..aefd67916524593c6a23390dff0a43352d0d5b12 100644 (file)
@@ -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 */