aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numutils.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-12-26 08:00:55 +0900
committerMichael Paquier <michael@paquier.xyz>2022-12-26 08:00:55 +0900
commitd3c0cc4447307a2ffbcff8274573b544294e583c (patch)
tree24684202f39d455f7741a74ceeaa52ff8b174de4 /src/backend/utils/adt/numutils.c
parent442e25d2485b1ecf3357725acee995a1c349163d (diff)
downloadpostgresql-d3c0cc4447307a2ffbcff8274573b544294e583c.tar.gz
postgresql-d3c0cc4447307a2ffbcff8274573b544294e583c.zip
Switch query fixing aclitems in ~15 from O(N^2) to O(N) in upgrade_adapt.sql
f4f2f2b was doing a sequential scan of pg_class before checking if a relation had attributes dependent on aclitem as data typewhen building the set of ALTER TABLE queries, but it would be costly on a regression database. While on it, make the query style more consistent with the rest. Reported-by: Justin Pryzby Discussion: https://postgr.es/m/20221223032724.GQ1153@telsasoft.com
Diffstat (limited to 'src/backend/utils/adt/numutils.c')
0 files changed, 0 insertions, 0 deletions