From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Revise BuildIndexValueDescription to simplify it
Date: Tue, 17 Jul 2018 00:34:46 +0000
Message-ID: <E1ffDx0-0002C1-58@gemulon.postgresql.org> (raw)
Revise BuildIndexValueDescription to simplify it
Getting a pg_index tuple from syscache when the open index relation is
available is pointless -- just use the one from relcache.
Noticed while reviewing code for cb9db2ab0674.
No backpatch.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1c04d4beea8a7f0f5fb667512025aada14c5be67
Modified Files
--------------
src/backend/access/index/genam.c | 18 ++----------------
1 file changed, 2 insertions(+), 16 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: alvherre@alvh.no-ip.org
Subject: Re: pgsql: Revise BuildIndexValueDescription to simplify it
In-Reply-To: <E1ffDx0-0002C1-58@gemulon.postgresql.org>
References: <E1ffDx0-0002C1-58@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox