diff options
author | Tomas Vondra <tomas.vondra@postgresql.org> | 2021-07-26 17:12:28 +0200 |
---|---|---|
committer | Tomas Vondra <tomas.vondra@postgresql.org> | 2021-07-26 17:30:39 +0200 |
commit | f68b609230689f9886a46e5d9ab8d6cdd947e0dc (patch) | |
tree | eb8b2edaf80cdb9631c1505abc1c341ef51e494a /src/backend/jit/llvm/llvmjit_expr.c | |
parent | 085f931f52494e1f304e35571924efa6fcdc2b44 (diff) | |
download | postgresql-f68b609230689f9886a46e5d9ab8d6cdd947e0dc.tar.gz postgresql-f68b609230689f9886a46e5d9ab8d6cdd947e0dc.zip |
psql \dX: check schema when listing statistics objects
Commit ad600bba04 added psql command \dX listing extended statistics
objects, but it failed to consider search_path when selecting the
elements so some of the returned elements might be invisible.
The visibility was already considered for tab completion (added by
commit d99d58cdc8), so adding it to the query is fairly simple.
Reported and fix by Justin Pryzby, regression tests by me. Backpatch
to PostgreSQL 14, where \dX was introduced.
Batchpatch-through: 14
Author: Justin Pryzby
Reviewed-by: Tatsuro Yamada
Discussion: https://postgr.es/m/c027a541-5856-75a5-0868-341301e1624b%40nttcom.co.jp_1
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_expr.c')
0 files changed, 0 insertions, 0 deletions