diff options
author | Bruce Momjian | 2003-12-18 03:46:45 +0000 |
---|---|---|
committer | Bruce Momjian | 2003-12-18 03:46:45 +0000 |
commit | ed96bfde18293538761905b6b624b68424dd9d85 (patch) | |
tree | 9467e6c414cf31f3627790c9de94477ee635ef2e /src/test | |
parent | bb58eed0041ed33cd9749ac56c437b7fdf5fcdb9 (diff) |
Here is the definition of relation_byte_size() in optimizer/path/costsize.c:
----------------------------------------------------------------------
/*
* relation_byte_size
* Estimate the storage space in bytes for a given number of tuples
* of a given width (size in bytes).
*/
static double
relation_byte_size(double tuples, int width)
{
return tuples * (MAXALIGN(width) + MAXALIGN(sizeof(HeapTupleData)));
}
----------------------------------------------------------------------
Shouldn't this be HeapTupleHeaderData and not HeapTupleData ?
(Of course, from a costing perspective these shouldn't be very different but ...)
Sailesh Krishnamurthy
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions