Re: [HACKERS] MaxOffsetNumber versus MaxHeapTuplesPerPage

2007-10-25 Thread Tom Lane
Heikki Linnakangas <[EMAIL PROTECTED]> writes: > Zdenek Kotala wrote: >> Is there any reason to have both these macros? By my opinion >> MaxHeapTuplesPerPage is more accurate and it should replace all >> MaxOffsetNumber occurrence. > We use MaxOffsetNumber with index pages as well. > At quick gla

Re: [HACKERS] MaxOffsetNumber versus MaxHeapTuplesPerPage

2007-10-25 Thread Zdenek Kotala
Heikki Linnakangas wrote: Zdenek Kotala wrote: Is there any reason to have both these macros? By my opinion MaxHeapTuplesPerPage is more accurate and it should replace all MaxOffsetNumber occurrence. We use MaxOffsetNumber with index pages as well. I forgot to indexes, but there is MaxIndexT

Re: [HACKERS] MaxOffsetNumber versus MaxHeapTuplesPerPage

2007-10-25 Thread Heikki Linnakangas
Zdenek Kotala wrote: > Is there any reason to have both these macros? By my opinion > MaxHeapTuplesPerPage is more accurate and it should replace all > MaxOffsetNumber occurrence. We use MaxOffsetNumber with index pages as well. At quick glance, the only places I can see where we could replace Ma