]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Remove make_temptable_name_n().
authorNathan Bossart <nathan@postgresql.org>
Wed, 22 Oct 2025 17:31:55 +0000 (12:31 -0500)
committerNathan Bossart <nathan@postgresql.org>
Wed, 22 Oct 2025 17:31:55 +0000 (12:31 -0500)
commit4c5e1d0785ce150c3e6c65b009ea56815acbc8cd
tree2a2de0f851c758ebc410e4cebfbad6cd517f42f1
parentf33e60a53a9ca89b5078df49416acae20affe1f5
Remove make_temptable_name_n().

This small function is only used in one place, and it fails to
handle quoted table names (although the table name portion of the
input should never be quoted in current usage).  In addition to
removing make_temptable_name_n() in favor of open-coding it where
needed, this commit ensures the "diff" table name is properly
quoted in order to future-proof this area a bit.

Author: Aleksander Alekseev <aleksander@tigerdata.com>
Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de>
Reviewed-by: Shinya Kato <shinya11.kato@gmail.com>
Discussion: https://postgr.es/m/CAJ7c6TO3a5q2NKRsjdJ6sLf8isVe4aMaaX1-Hj2TdHdhFw8zRA%40mail.gmail.com
src/backend/commands/matview.c