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 67c999c

Browse files
authored
Check config file for errors
1 parent 50c4681 commit 67c999c

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

‎psqlrc/TODO.md‎

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,6 @@ Show overall info on `psql` start
1515
1. Activity: currently used, total available, used precent (mark red if > 90%), total by status
1616

1717
Add check configutarion problems
18-
1. Check config file `show config_file;` for errors:
19-
```sql
20-
with t as (
21-
select distinct on (name) *
22-
from pg_file_settings
23-
order by name, seqno desc
24-
)
25-
select t.sourcefile,
26-
t.sourceline,
27-
t.name,
28-
t.setting,
29-
t.applied,
30-
t.error,
31-
s.vartype,
32-
s.min_val,
33-
s.max_val,
34-
s.enumvals,
35-
s.extra_desc
36-
from t
37-
join pg_settings as s on t.name = s.name
38-
where not applied;
39-
```
4018
1. Check hba file `show hba_file;` for errors:
4119
* `select exists(select from pg_hba_file_rules where error is not null);`
4220
1. Check need to restart server:

0 commit comments

Comments
(0)

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