From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix ALTER TABLE...SET STATS error message for included columns |
Date: | 2018-07-17 00:02:58 |
Message-ID: | E1ffDSE-0001aj-G6@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(at)sraoss(dot)co(dot)jp>
Discussion: https://postgr.es/m/20180628182803.e4632d5a.nagata@sraoss.co.jp
Reviewed-by: Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/cb9db2ab0674381b92559e011738f19e2bd0f6f2
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2018-07-17 00:34:46 | pgsql: Revise BuildIndexValueDescription to simplify it |
Previous Message | Alvaro Herrera | 2018-07-16 22:48:04 | pgsql: Fix partition pruning with IS [NOT] NULL clauses |