From: | Artur Zakirov <a(dot)zakirov(at)postgrespro(dot)ru> |
---|---|
To: | Dylan Luong <Dylan(dot)Luong(at)unisa(dot)edu(dot)au>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Install pgAudit extension |
Date: | 2016-12-06 09:39:03 |
Message-ID: | ecf53b72-0840-8ec1-3ab3-b2fe7f7463c5@postgrespro.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 06.12.2016 08:44, Dylan Luong wrote:
> Hi
>
>
>
> I need some advice on installing the pgAudit extension as I am new to
> PostgreSQL extenstions.
>
You can use PGXS. With PGXS you don't need postgres's source code, only
source code of pgaudit. But you need installed PostgreSQL. Here is the
example:
1 - unzip pgaudit to a pgaudit directory
2 - go to a pgaudit directory:
cd pgaudit
3 - compile and install:
make USE_PGXS=1
make USE_PGXS=1 install
It is assumed that pg_config is in your $PATH variable. If it is not
then you can run:
make USE_PGXS=1 PG_CONFIG=<path_to_postgres_bin>/pg_config
make USE_PGXS=1 PG_CONFIG=<path_to_postgres_bin>/pg_config install
--
Artur Zakirov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2016-12-06 10:21:20 | Re: Overwrite pg_catalog? |
Previous Message | Achilleas Mantzios | 2016-12-06 09:01:11 | Re: Streaming Replication delay getting bigger |