@@ -86,8 +86,8 @@ select -- pg_backend_pid(), -- if we're connecting through pgbouncer, then promp
8686 from fs
8787 cross join current_setting(fs.name) as cs(setting)
8888 join pg_settings as s on fs.name = lower(s.name)
89- and fs.setting is distinct from lower( cs.setting)
90- and fs.setting is distinct from lower( s.setting)
89+ and fs.setting is distinct from cs.setting
90+ and fs.setting is distinct from s.setting
9191 and fs.applied and not s.pending_restart
9292 ) as is_pending_reload
9393
@@ -137,7 +137,7 @@ from coalesce(
137137 from fs
138138 cross join current_setting(fs.name) as cs(setting)
139139 join pg_settings as s on fs.name = lower(s.name)
140- and fs.setting is distinct from lower( cs.setting)
140+ and fs.setting is distinct from cs.setting
141141 and s.pending_restart;
142142\endif
143143
@@ -156,8 +156,8 @@ from coalesce(
156156 from fs
157157 cross join current_setting(fs.name) as cs(setting)
158158 join pg_settings as s on fs.name = lower(s.name)
159- and fs.setting is distinct from lower( cs.setting)
160- and fs.setting is distinct from lower( s.setting)
159+ and fs.setting is distinct from cs.setting
160+ and fs.setting is distinct from s.setting
161161 and fs.applied and not s.pending_restart;
162162\endif
163163
0 commit comments