pgsql: Split CREATE STATISTICS error reasons out into errdetails
pgsql: Split CREATE STATISTICS error reasons out into errdetails
От:
John Naylor <john.naylor@postgresql.org>
Дата:
Split CREATE STATISTICS error reasons out into errdetails Some errmsgs in statscmds.c were phrased as "...cannot be used because...". Put the reasons into errdetails. While at it, switch from passive voice to "cannot create..." for the errmsg. Author: Yugo Nagata Suggested-by: John Naylor Discussion: https://postgr.es/m/CANWCAZaZeX0omWNh_ZbD_JVujzYQdRUW8UZOQ4dWh9Sg7OcAow@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/51098839cfb40dc496bb48fe4ea14d19170099ac Modified Files -------------- src/backend/commands/statscmds.c | 17 +++++++++++------ src/test/regress/expected/stats_ext.out | 3 ++- 2 files changed, 13 insertions(+), 7 deletions(-)