On Fri, Oct 20, 2017 at 1:12 PM, rakeshkumar464 <rakeshkumar464(at)outlook(dot)com>
wrote:
> I am documenting on automating installation of pgaudit extension for
> containers. On my laptop I see that the directory where the files
> pgaudit.control and pgaudit--1.2.sql needs to be present is
>
> /usr/share/postgresql/10/extension.
>
> How do I know beforehand where the dir path is ?
>
I think pg_config (
https://www.postgresql.org/docs/current/static/app-pgconfig.html ) is what
you are looking for.
David J.