We find the bin directory of PostgreSQL using the command below.
1 | ps -ef |grep postgres |
You can see this directory in the white box in the screen below.
![]()
We go to this directory using the “cd” command and run the following command to find the lib directory.
1 | ./pg_config --libdir |
![]()
Database Tutorials MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux 