Re: pgsql: CREATE INDEX ... INCLUDING (column[, ...])

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Teodor Sigaev <teodor(at)sigaev(dot)ru>, pgsql-committers <pgsql-committers(at)postgresql(dot)org>
Subject: Re: pgsql: CREATE INDEX ... INCLUDING (column[, ...])
Date: 2016-04-08 18:38:37
Message-ID: 20160408183837.GO10850@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

* Robert Haas (robertmhaas(at)gmail(dot)com) wrote:
> On Fri, Apr 8, 2016 at 2:29 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > Teodor Sigaev <teodor(at)sigaev(dot)ru> writes:
> >> CREATE INDEX ... INCLUDING (column[, ...])
> >
> > Buildfarm members that don't like // comments are dying on this bit
> > in tuplesort.c:
> >
> > state->nKeys = IndexRelationGetNumberOfKeyAttributes(indexRel); //FIXME
> >
> > I assume that the problem here is larger than just failure to adhere to
> > C89 comment style. Was this patch really ready to commit? I'm not very
> > happy that such a large patch went from "Needs review" to "Committed" in
> > the blink of an eye on the very last commitfest day ... and artifacts like
> > this aren't doing anything to increase my confidence in it.
>
> +1. I wonder if this should be reverted entirely.

This also broke pg_dump when connecting to pre-9.6 systems. That's a
pretty easy fix and I was just about to push a fix for that, but will
hold off if this is going to be reverted..

Thanks!

Stephen

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2016-04-08 18:40:01 Re: pgsql: CREATE INDEX ... INCLUDING (column[, ...])
Previous Message Robert Haas 2016-04-08 18:31:26 Re: pgsql: CREATE INDEX ... INCLUDING (column[, ...])

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-04-08 18:39:57 Re: [PATCH v12] GSSAPI encryption support
Previous Message Robert Haas 2016-04-08 18:37:55 Re: Speedup twophase transactions