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 | 6d047c6a9192df34670a503c4d289a93e4909033 (patch) | |
tree | 235d9e378519b5cfe169452499db6c02cc53a8b1 /src/tutorial/complex.c | |
parent | 01731eeeaa9665b47a45b7d2c967ef4c06a56d1b (diff) | |
download | postgresql-6d047c6a9192df34670a503c4d289a93e4909033.tar.gz postgresql-6d047c6a9192df34670a503c4d289a93e4909033.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/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions