diff options
author | Tomas Vondra <tomas.vondra@postgresql.org> | 2025-07-31 15:15:44 +0200 |
---|---|---|
committer | Tomas Vondra <tomas.vondra@postgresql.org> | 2025-07-31 16:04:06 +0200 |
commit | dbf5a83d4650fc893838a2f92306b3d6439f55ba (patch) | |
tree | 98c83e3a677d06e8c153628f9fc235253f40675c /contrib/postgres_fdw/postgres_fdw.c | |
parent | 0decd5e89db9f5edb9b27351082f0d74aae7a9b6 (diff) | |
download | postgresql-dbf5a83d4650fc893838a2f92306b3d6439f55ba.tar.gz postgresql-dbf5a83d4650fc893838a2f92306b3d6439f55ba.zip |
Schema-qualify unnest() in ALTER DATABASE ... RESET
Commit 9df8727c5067 failed to schema-quality the unnest() call in the
query used to list the variables in ALTER DATABASE ... RESET. If there's
another unnest() function in the search_path, this could cause either
failures, or even security issues (when the tab-completion gets used by
privileged accounts).
Report and fix by Dagfinn Ilmari Mannsåker. Backpatch to 18, same as
9df8727c5067.
Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Reviewed-by: jian he <jian.universality@gmail.com>
Discussion: https://postgr.es/m/87qzyghw2x.fsf%40wibble.ilmari.org
Discussion: https://postgr.es/m/87tt4lumqz.fsf%40wibble.ilmari.org
Backpatch-through: 18
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions