aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execParallel.c
diff options
context:
space:
mode:
authorTomas Vondra <tomas.vondra@postgresql.org>2019-05-30 16:16:12 +0200
committerTomas Vondra <tomas.vondra@postgresql.org>2019-05-30 17:06:35 +0200
commit39c9efc15646b3eb36d4095c3657405894dc3ea4 (patch)
treeff9cb6188dce58768d5c5f00a0bb17e499c28f7b /src/backend/executor/execParallel.c
parentb31d88b010b44e3c0c1a7b62966f91a55d5d9b8d (diff)
downloadpostgresql-39c9efc15646b3eb36d4095c3657405894dc3ea4.tar.gz
postgresql-39c9efc15646b3eb36d4095c3657405894dc3ea4.zip
Make error logging in extended statistics more consistent
Most errors reported in extended statistics are internal issues, and so should use elog(). The MCV list code was already following this rule, but the functional dependencies and ndistinct coefficients were using a mix of elog() and ereport(). Fix this by changing most places to elog(), with the exception of input functions. This is a mostly cosmetic change, it makes the life a little bit easier for translators, as elog() messages are not translated. So backpatch to PostgreSQL 10, where extended statistics were introduced. Author: Tomas Vondra Backpatch-through: 10 where extended statistics were added Discussion: https://postgr.es/m/20190503154404.GA7478@alvherre.pgsql
Diffstat (limited to 'src/backend/executor/execParallel.c')
0 files changed, 0 insertions, 0 deletions