From: | Mark Kirkwood <markir(at)paradise(dot)net(dot)nz> |
---|---|
To: | Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp> |
Cc: | alvherre(at)commandprompt(dot)com, peter_e(at)gmx(dot)net, pgsql-hackers(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Subject: | Re: pg_freespacemap question |
Date: | 2006-03-08 04:47:50 |
Message-ID: | 440E61F6.6020205@paradise.net.nz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Mark Kirkwood wrote:
> Tatsuo Ishii wrote:
>
>> BTW, I found the answer to my question myself by reading the source
>> code: if that's an index, then blockfreebytes is explicitly set to 0.
>> I suggest that this should be noted in the README and in this case
>> blockfreebytes is better to set to NULL, rather than 0.
>>
>
> Good points! I had not noticed this test case. Probably NULL is better
> than zero.
>
Would setting it to 'BLCKSZ - (fixed index header stuff)' be better,
since the btree page is empty? (I'll have to read up on how to calculate
the header stuff!).
regards
Mark
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Stark | 2006-03-08 04:48:55 | Re: Merge algorithms for large numbers of "tapes" |
Previous Message | Luke Lonergan | 2006-03-08 04:18:20 | Re: Merge algorithms for large numbers of "tapes" |
From | Date | Subject | |
---|---|---|---|
Next Message | Hans-Jürgen Schönig | 2006-03-08 07:06:50 | Re: CREATE SYNONYM ... |
Previous Message | Tom Lane | 2006-03-08 03:43:36 | Re: CREATE SYNONYM ... |