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 | 5e0431c32a8f723fcf5b0eea77a4b6144b6abdff (patch) | |
tree | 312d798b31f27d7b6ed9b3c4e7baf0bdff668ffb /src/tutorial/basics.source | |
parent | c91d0af0a2ad3d3176eaf508281a4e29bb1975b8 (diff) |
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/basics.source')
0 files changed, 0 insertions, 0 deletions