We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3df612f commit e9ba117Copy full SHA for e9ba117
psqlrc/psqlrc
@@ -98,7 +98,7 @@ from coalesce(case when not pg_is_in_recovery() then null -- not standby
98
s.vartype, s.min_val, s.max_val, s.enumvals, s.extra_desc
99
from t
100
join pg_settings as s on t.name = s.name
101
- where not applied;
+ where not t.applied and not s.pending_restart;
102
\endif
103
104
\if :is_hba_file_error
@@ -114,11 +114,12 @@ if :is_pending_restart
114
order by name, seqno desc
115
)
116
select f.sourcefile, f.sourceline, f.name,
117
- s.setting as current_setting,
+ cs.setting as current_setting,
118
f.setting as new_setting
119
from f
120
+ cross join current_setting(f.name) as cs(setting)
121
join pg_settings as s on f.name = s.name
- and f.setting is distinct from s.setting
122
+ and f.setting is distinct from cs.setting
123
and s.pending_restart;
124
125
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments