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@lists.postgresql.org
Subject: pgsql: Fix ALTER TABLE...SET STATS error message for included columns
Date: Tue, 17 Jul 2018 00:02:58 +0000
Message-ID: <E1ffDSE-0001ak-G5@gemulon.postgresql.org> (raw)

Fix ALTER TABLE...SET STATS error message for included columns

The existing error message was complaining that the column is not an
expression, which is not correct.  Introduce a suitable wording
variation and a test.

Co-authored-by: Yugo Nagata <nagata@sraoss.co.jp>
Discussion: https://postgr.es/m/20180628182803.e4632d5a.nagata@sraoss.co.jp
Reviewed-by: Álvaro Herrera <alvherre@alvh.no-ip.org>

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/802b04cb3fadeb381001611f3ffa3c2762bdcc25

Modified Files
--------------
src/backend/commands/tablecmds.c              | 23 +++++++++++++++--------
src/test/regress/expected/index_including.out | 14 ++++++++++++++
src/test/regress/sql/index_including.sql      | 10 ++++++++++
3 files changed, 39 insertions(+), 8 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1ffDSE-0001ak-G5@gemulon.postgresql.org>
Permalink:  ../E1ffDSE-0001ak-G5@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ffDSE-0001ak-G5@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 ALTER TABLE...SET STATS error message for included columns
  In-Reply-To: <E1ffDSE-0001ak-G5@gemulon.postgresql.org>
  References: <E1ffDSE-0001ak-G5@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