]> granicus.if.org Git - postgresql/commit
Fix ALTER TABLE...SET STATS error message for included columns
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 17 Jul 2018 00:00:24 +0000 (20:00 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 17 Jul 2018 00:00:24 +0000 (20:00 -0400)
commit802b04cb3fadeb381001611f3ffa3c2762bdcc25
treef0ce10217b8130c0aab6076b4fc1bbffe136bcc2
parentfb2b61a21e141843697de7982c9f6485effcd915
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>
src/backend/commands/tablecmds.c
src/test/regress/expected/index_including.out
src/test/regress/sql/index_including.sql