Skip site navigation (1) Skip section navigation (2)

pgsql: Fix incorrect access to pg_index.indcollation.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix incorrect access to pg_index.indcollation.
Date: 2011-03-06 17:11:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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



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

pgsql-committers by date

Next:From: Simon RiggsDate: 2011-03-06 22:51:56
Subject: pgsql: Efficient transaction-controlled synchronous replication.
Previous:From: Bruce MomjianDate: 2011-03-06 11:35:36
Subject: pgsql: Improve pg_upgrade relation name check logic for pre-8.4servers

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group