pgsql: Fix incorrect access to pg_index.indcollation. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix incorrect access to pg_index.indcollation.
Date
Msg-id E1PwHU6-0007mT-Eq@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix incorrect access to pg_index.indcollation.

Since this field is after a variable-length field, it can't simply be
accessed via the C struct for pg_index.  Fortunately, the relcache already
did the dirty work of pulling the information out to where it can be
accessed easily, so this is a one-line fix.

Andres Freund

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/149b2673c244b92b59411dd2292d6ddcfb03d5d4

Modified Files
--------------
src/backend/access/index/indexam.c |    3 +--
1 files changed, 1 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Improve pg_upgrade relation name check logic for pre-8.4 servers
Next
From: Simon Riggs
Date:
Subject: pgsql: Efficient transaction-controlled synchronous replication.