pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix CompareIndexInfo's attnum comparisons
Date: Fri, 19 Jan 2018 20:01:04 +0000
Message-ID: <E1eccqW-0004qW-0U@gemulon.postgresql.org> (raw)

Fix CompareIndexInfo's attnum comparisons

When an index column is an expression, it makes no sense to compare its
attribute numbers.

This seems to account for remaining buildfarm fallout from 8b08f7d4820f.
At least, it solves the issue in my local 32bit VM -- let's see what the
rest thinks.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7f17fd6fc7125b41218bc99ccfa8165e2d730cd9

Modified Files
--------------
src/backend/catalog/index.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)



Message-ID: <E1eccqW-0004qW-0U@gemulon.postgresql.org>
Permalink:  ../E1eccqW-0004qW-0U@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eccqW-0004qW-0U@gemulon.postgresql.org

 · 

reply

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: Fix CompareIndexInfo's attnum comparisons
  In-Reply-To: <E1eccqW-0004qW-0U@gemulon.postgresql.org>
  References: <E1eccqW-0004qW-0U@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