pgsql: Revise BuildIndexValueDescription to simplify it - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Revise BuildIndexValueDescription to simplify it
Date
Msg-id E1ffDx0-0002C1-58@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Fix ALTER TABLE...SET STATS error message for included columns
Next
From: Alvaro Herrera
Date:
Subject: pgsql: doc: move PARTITION OF stanza to just below PARTITION BY