Postgresql where is the PGDATA directory

The following query will show you.

select setting from pg_settings where name = 'data_directory';

Leave a Comment

Scroll to Top