diff options
author | Nathan Bossart <nathan@postgresql.org> | 2024-10-07 16:49:20 -0500 |
---|---|---|
committer | Nathan Bossart <nathan@postgresql.org> | 2024-10-07 16:49:20 -0500 |
commit | 8318f2b170d81e6792b90f2aa2b491a2b7add441 (patch) | |
tree | e529f3e702e764e350f1cbabc1a021630a66f7b7 /src/backend/utils/adt/network_spgist.c | |
parent | 5d6187d2a28326b3414c394ec4c28c51bb513c44 (diff) | |
download | postgresql-8318f2b170d81e6792b90f2aa2b491a2b7add441.tar.gz postgresql-8318f2b170d81e6792b90f2aa2b491a2b7add441.zip |
vacuumdb: Schema-qualify operator in catalog query's WHERE clause.
Commit 1ab67c9dfa, which modified this catalog query so that it
doesn't return temporary relations, forgot to schema-qualify the
operator. A comment earlier in the function implores us to fully
qualify everything in the query:
* Since we execute the constructed query with the default search_path
* (which could be unsafe), everything in this query MUST be fully
* qualified.
This commit fixes that. While at it, add a newline for consistency
with surrounding code.
Reviewed-by: Noah Misch
Discussion: https://postgr.es/m/ZwQJYcuPPUsF0reU%40nathan
Backpatch-through: 12
Diffstat (limited to 'src/backend/utils/adt/network_spgist.c')
0 files changed, 0 insertions, 0 deletions