DBA Hub

📋Steps in this guide1/1

Find postgres configuration values

1 . Get Config values from psql prompt.

postgresql configurationintermediate
by PostgreSQL
14 views
1

Find postgres configuration values

1 . Get Config values from psql prompt. 2. Alternatively you can check postgresql.conf file

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
11
12
postgres=#
select * from pg_settings;
\x
postgres=#
select * from pg_settings where name='port';
postgres=#
show config_file;
config_file
---------------------------------
/pgdata/data/postgresql.conf
(1 row)
cat /pgdata/data/postgresql.conf

Comments (0)

Please to add comments

No comments yet. Be the first to comment!