- Notifications
You must be signed in to change notification settings - Fork28
Commited96bfd
committed
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 doublerelation_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 Krishnamurthy1 parentbb58eed commited96bfd
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
1969 | 1969 | | |
1970 | 1970 | | |
1971 | 1971 | | |
1972 | | - | |
| 1972 | + | |
1973 | 1973 | | |
1974 | 1974 | | |
1975 | 1975 | | |
| |||
0 commit comments
Comments
(0)