Thread: pgsql: Revise BuildIndexValueDescription to simplify it

pgsql: Revise BuildIndexValueDescription to simplify it

From
Alvaro Herrera
Date:
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(-)