postgresql/src/bin/scripts
Nathan Bossart 8318f2b170 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
2024-10-07 16:49:20 -05:00
..
po Translation updates 2024-06-24 13:11:27 +02:00
t Make sure to run pg_isready on correct port 2024-07-13 08:06:53 -04:00
.gitignore Remove createlang and droplang 2017-03-23 14:16:45 -04:00
clusterdb.c clusterdb: Allow specifying tables to process in all databases. 2024-03-11 13:11:20 -05:00
common.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
common.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
createdb.c createdb: compare strategy case-insensitive 2024-04-21 21:21:26 +02:00
createuser.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
dropdb.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
dropuser.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
Makefile Update copyright for 2024 2024-01-03 20:49:05 -05:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls.mk Add missing source files to nls.mk 2024-06-13 10:17:36 +02:00
pg_isready.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
reindexdb.c reindexdb: Skip reindexing temporary tables and indexes. 2024-09-30 11:13:55 +09:00
vacuumdb.c vacuumdb: Schema-qualify operator in catalog query's WHERE clause. 2024-10-07 16:49:20 -05:00