Re: Reduce the size of PageFreeSpaceInfo on 64bit platform - Mailing list pgsql-patches

From Tom Lane
Subject Re: Reduce the size of PageFreeSpaceInfo on 64bit platform
Date
Msg-id 10318.1186721132@sss.pgh.pa.us
Whole thread Raw
In response to Reduce the size of PageFreeSpaceInfo on 64bit platform  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
List pgsql-patches
ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
> -    Size        avail;            /* space available on this page */
> +    uint32        avail;            /* space available on this page */

This declaration ties into a boatload of others, eg, just about every
use of Size in freespace.h.  I'm unconvinced that we need to change it,
but if we do, the patch needs to be a lot bigger.

            regards, tom lane

pgsql-patches by date:

Previous
From: ITAGAKI Takahiro
Date:
Subject: Reduce the size of PageFreeSpaceInfo on 64bit platform
Next
From: "Brendan Jurd"
Date:
Subject: Re: [HACKERS] Function structure in formatting.c