In today’s article, we will learn where the installation files are in PostgreSQL, how to access data, lib, bin and many similar configuration information.
First, we switch to the postgres user with the help of the following command.
1 | su postgres |
After switching to the Postgres user, we learn where our currently running service is with the help of pg_config in the directory specified below.
1 | /usr/pgsql-13/bin/pg_config |
In the picture above, we have seen where binary ,library ,share ,pgxs are located.