CVSROOT:        /cvsroot
Module name:    pgsql-server
Changes by:     [EMAIL PROTECTED]       03/12/17 23:46:45

Modified files:
        src/backend/optimizer/path: costsize.c 

Log message:
        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


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to