May 17, 2026, 11:40 PM

This commit is contained in:
Paweł Domański
2026-05-18 06:40:19 +00:00
commit 64944cf004
896 changed files with 310709 additions and 0 deletions
@@ -0,0 +1,18 @@
DATA_DIRECTORY - > Specifies the directory to use for data storage.
dbaclass=# show data_directory;
data_directory
-----------------------------
/Library/PostgreSQL/10/data
(1 row)
dbaclass=# select setting from pg_settings where name = 'data_directory';
setting
-----------------------------
/Library/PostgreSQL/10/data
(1 row)
-- This will show location of important files in postgres
dbaclass=# SELECT name, setting FROM pg_settings WHERE category = 'File Locations';