pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedSV: SV: Implementing pgaudit extension on Microsoft Windows
3+ messages / 2 participants
[nested] [flat]
* SV: SV: Implementing pgaudit extension on Microsoft Windows
@ 2019-02-13 08:32 Niels Jespersen <NJN@dst.dk>
2019-02-13 14:17 ` Re: SV: SV: Implementing pgaudit extension on Microsoft Windows Joe Conway <mail@joeconway.com>
0 siblings, 1 reply; 3+ messages in thread
From: Niels Jespersen @ 2019-02-13 08:32 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Pavel Stehule <pavel.stehule@gmail.com>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Hi Tom (and others)
Thank you for input. I think my next steps will be approcching the problem from differenct angles:
Implement on Linux as Proof of Concept.
Dive into the source for pgaudit and try to understand how it works, perhaps getting a small example extension working along the way.
Perhaps contacting the authors of pgaudit to have them confirm that there exists working implementations of pgaudit on Windows (and if so if they are on PostgreSQL 11).
I will report how this turns out.
Regards Niels
-----Oprindelig meddelelse-----
Fra: Tom Lane <tgl@sss.pgh.pa.us>
Sendt: 12. februar 2019 15:14
Til: Niels Jespersen <NJN@dst.dk>
Cc: 'Pavel Stehule' <pavel.stehule@gmail.com>; pgsql-general@lists.postgresql.org
Emne: Re: SV: Implementing pgaudit extension on Microsoft Windows
Niels Jespersen <NJN@dst.dk> writes:
> Same result from
> pgaudit.log = 'all'
> in postgresql.conf and after both select pg_reload_conf(); and after service restart.
> No entries in the log from audit.
Hm. I don't know much about pgaudit, but just from scanning its documentation, it doesn't seem like there's anything else that has to be set.
I wonder whether pgaudit actually works on Windows? It might have some weird dependency on children being spawned with fork not exec, for instance. You probably ought to contact the authors and ask.
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: SV: SV: Implementing pgaudit extension on Microsoft Windows
2019-02-13 08:32 SV: SV: Implementing pgaudit extension on Microsoft Windows Niels Jespersen <NJN@dst.dk>
@ 2019-02-13 14:17 ` Joe Conway <mail@joeconway.com>
2019-02-13 23:33 ` Re: SV: SV: Implementing pgaudit extension on Microsoft Windows Joe Conway <mail@joeconway.com>
0 siblings, 1 reply; 3+ messages in thread
From: Joe Conway @ 2019-02-13 14:17 UTC (permalink / raw)
To: Niels Jespersen <NJN@dst.dk>; Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Pavel Stehule <pavel.stehule@gmail.com>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
On 2/13/19 3:32 AM, Niels Jespersen wrote:
> Dive into the source for pgaudit and try to understand how it works,
> perhaps getting a small example extension working along the way.
> Perhaps contacting the authors of pgaudit to have them confirm that
> there exists working implementations of pgaudit on Windows (and if
> so if they are on PostgreSQL 11).
pgaudit definitely *should* work on Windows. If you can post your other
log related conf settings I will fire up a Windows VM and try to
duplicate the issue.
Joe
--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: SV: SV: Implementing pgaudit extension on Microsoft Windows
2019-02-13 08:32 SV: SV: Implementing pgaudit extension on Microsoft Windows Niels Jespersen <NJN@dst.dk>
2019-02-13 14:17 ` Re: SV: SV: Implementing pgaudit extension on Microsoft Windows Joe Conway <mail@joeconway.com>
@ 2019-02-13 23:33 ` Joe Conway <mail@joeconway.com>
0 siblings, 0 replies; 3+ messages in thread
From: Joe Conway @ 2019-02-13 23:33 UTC (permalink / raw)
To: Niels Jespersen <NJN@dst.dk>; Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Pavel Stehule <pavel.stehule@gmail.com>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
On 2/13/19 9:17 AM, Joe Conway wrote:
> On 2/13/19 3:32 AM, Niels Jespersen wrote:
>> Dive into the source for pgaudit and try to understand how it works,
>> perhaps getting a small example extension working along the way.
>> Perhaps contacting the authors of pgaudit to have them confirm that
>> there exists working implementations of pgaudit on Windows (and if
>> so if they are on PostgreSQL 11).
>
> pgaudit definitely *should* work on Windows. If you can post your other
> log related conf settings I will fire up a Windows VM and try to
> duplicate the issue.
I just compiled pgaudit on a Win10 VM and loaded it into a Postgres 11
Win64 build downloaded from the PGDG community download. Works perfectly
for me. Will definitely need to understand more details about your
installation. Probably not appropriate to do that on this list, so
please submit an issue on github.com/pgaudit/pgaudit
Thanks,
Joe
--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development
Attachments:
signature.asc (application/pgp-signature, 818B) download
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2019-02-13 23:33 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-02-13 08:32 SV: SV: Implementing pgaudit extension on Microsoft Windows Niels Jespersen <NJN@dst.dk>
2019-02-13 14:17 ` Joe Conway <mail@joeconway.com>
2019-02-13 23:33 ` Joe Conway <mail@joeconway.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox