Fix ALTER TABLE...SET STATS error message for included columns
Alvaro Herrera <alvherre@alvh.no-ip.org>
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>
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/tablecmds.c | modified | +15 −8 |
| src/test/regress/expected/index_including.out | modified | +14 −0 |
| src/test/regress/sql/index_including.sql | modified | +10 −0 |
Discussion
- Fix error message when trying to alter statistics on included column 5 messages · 2018-06-28 → 2018-07-17