Re: Small code improvement for btree

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Doug Doole <DougDoole(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Subject: Re: Small code improvement for btree
Date: 2017-09-18 20:39:59
Message-ID: 15777.1505767199@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Doug Doole <DougDoole(at)gmail(dot)com> writes:
> Looks good to me.
> The new status of this patch is: Ready for Committer

Pushed. Grepping found a few more places that should be changed to
use these macros rather than referencing btpo_flags directly,
so I did that.

I tend to agree with Alvaro that it'd be better to get rid of
BT_READ/BT_WRITE in favor of using the same buffer flags used
elsewhere; but I also agree that as long as they're there we
should use them, so I included that change as well.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-09-18 21:05:43 Re: Partition-wise join for join between (declaratively) partitioned tables
Previous Message Robert Haas 2017-09-18 20:06:51 Re: Parallel Hash take II