Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 73d9a3b

Browse files
authored
Update psqlrc
1 parent 05df3ec commit 73d9a3b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎psqlrc/psqlrc‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /